Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] require-default-props: report when required props have default param value #3785

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

akulsr0
Copy link
Contributor

@akulsr0 akulsr0 commented Jul 18, 2024

Closes #3720

@akulsr0 akulsr0 changed the title [Fix]require-default-props: report when required props have default value [Fix]require-default-props: report when required props have default param value Jul 18, 2024
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

Attention: Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 97.75%. Comparing base (a08cb93) to head (a4b0bbc).

Files Patch % Lines
lib/rules/require-default-props.js 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3785      +/-   ##
==========================================
+ Coverage   97.62%   97.75%   +0.12%     
==========================================
  Files         132      135       +3     
  Lines        9697     9715      +18     
  Branches     3522     3527       +5     
==========================================
+ Hits         9467     9497      +30     
+ Misses        230      218      -12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ljharb ljharb force-pushed the akul/issue-3720 branch from 0ddcd35 to a4b0bbc Compare July 19, 2024 22:14
@ljharb ljharb merged commit a4b0bbc into jsx-eslint:master Jul 20, 2024
344 of 345 checks passed
@ljharb ljharb changed the title [Fix]require-default-props: report when required props have default param value [Fix] require-default-props: report when required props have default param value Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: The forbidDefaultForRequired option in the react/require-default-props rule does not work as expected
2 participants