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 @@ -10,7 +10,9 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
10
10
11
11
### Changed
12
12
* [ Perf] component detection: improve performance by avoiding traversing parents unnecessarily ([ #3459 ] [ ] @golopot )
13
+ * [ Docs] ` forbid-component-props ` : inclusive language w/ allowlist ([ #3473 ] [ ] @AndersDJohnson )
13
14
15
+ [ #3473 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3473
14
16
[ #3464 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3464
15
17
[ #3459 ] : https://github.com/jsx-eslint/eslint-plugin-react/pull/3459
16
18
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