File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ class Foo extends React.Component {
50
50
51
51
``` js
52
52
...
53
- " prefer-stateless-function" : [< enabled> , { " ignorePureComponent " : < ignorePureComponent > }]
53
+ " prefer-stateless-function" : [< enabled> , { " ignorePureComponents " : < ignorePureComponents > }]
54
54
...
55
55
```
56
56
57
57
* ` enabled ` : for enabling the rule. 0=off, 1=warn, 2=error. Defaults to 0.
58
- * ` ignorePureComponent ` : optional boolean set to ` true ` to ignore components extending from ` React.PureComponent ` (default to ` false ` ).
58
+ * ` ignorePureComponents ` : optional boolean set to ` true ` to ignore components extending from ` React.PureComponent ` (default to ` false ` ).
59
59
60
- ### ` ignorePureComponent `
60
+ ### ` ignorePureComponents `
61
61
62
62
When ` true ` the rule will ignore Components extending from ` React.PureComponent ` that use ` this.props ` or ` this.context ` .
63
63
You can’t perform that action at this time.
0 commit comments