eslint-plugin-react
eslint-plugin-react copied to clipboard
[New] forbid-dom-props: Add `disallowedValues` option for forbidden props
Add disallowedValues for disallowing only certain values for certain props
Discussion: https://github.com/jsx-eslint/eslint-plugin-react/issues/3876
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.66%. Comparing base (
efc021f) to head (a2e9dac).
Additional details and impacted files
@@ Coverage Diff @@
## master #3877 +/- ##
==========================================
+ Coverage 97.64% 97.66% +0.02%
==========================================
Files 133 136 +3
Lines 9966 9986 +20
Branches 3703 3706 +3
==========================================
+ Hits 9731 9753 +22
+ Misses 235 233 -2
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I changed valueRegex to disallowedValues and fixed the comma in the docs
@ljharb, hello!
Opensource is practically new to me. Could you please guide me on this PR's flow? When can it be merged?