eslint-plugin-react icon indicating copy to clipboard operation
eslint-plugin-react copied to clipboard

[New] forbid-component-props: add disallowedFor option

Open jacketwpbb opened this issue 2 years ago • 3 comments

Fixes #2946

jacketwpbb avatar Sep 07 '22 09:09 jacketwpbb

Codecov Report

Merging #3417 (2b0f500) into master (1fc7d34) will increase coverage by 0.00%. The diff coverage is 100.00%.

:exclamation: Current head 2b0f500 differs from pull request most recent head 4a92667. Consider uploading reports for the commit 4a92667 to get more accurate results

@@           Coverage Diff            @@
##           master    #3417    +/-   ##
========================================
  Coverage   97.62%   97.62%            
========================================
  Files         132      123     -9     
  Lines        9289     8964   -325     
  Branches     3396     3275   -121     
========================================
- Hits         9068     8751   -317     
+ Misses        221      213     -8     
Impacted Files Coverage Δ
lib/rules/forbid-component-props.js 100.00% <100.00%> (ø)

... and 50 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Sep 07 '22 09:09 codecov[bot]

#2946 was already resolved in #3338.

There isn't any consensus on doing anything further, so in the future, please do not send PRs for changes you're not sure are wanted.

In the meantime, let's leave this open, and please file a new issue so we can discuss if this is desired.

ljharb avatar Sep 07 '22 17:09 ljharb

Sorry,it was my first time to make a pull request, I have created a new issue for discussion.

jacketwpbb avatar Sep 08 '22 04:09 jacketwpbb