File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
18
18
19
19
### Changed
20
20
* [ Perf] component detection: improve performance by avoiding traversing parents unnecessarily ([ #3459 ] [ ] @golopot )
21
+ * [ Docs] ` forbid-component-props ` : inclusive language w/ allowlist ([ #3473 ] [ ] @AndersDJohnson )
21
22
23
+ [ #3473 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3473
22
24
[ #3464 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3464
23
25
[ #3461 ] : https://github.com/jsx-eslint/eslint-plugin-react/issues/3461
24
26
[ #3459 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3459
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Examples of **correct** code for this rule:
45
45
46
46
An array specifying the names of props that are forbidden. The default value of this option is ` ['className', 'style'] ` .
47
47
Each array element can either be a string with the property name or object specifying the property name, an optional
48
- custom message, and a component whitelist :
48
+ custom message, and a component allowlist :
49
49
50
50
``` js
51
51
{
You can’t perform that action at this time.
0 commit comments