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 {
5050
5151``` js
5252...
53- " prefer-stateless-function" : [< enabled> , { " ignorePureComponent " : < ignorePureComponent > }]
53+ " prefer-stateless-function" : [< enabled> , { " ignorePureComponents " : < ignorePureComponents > }]
5454...
5555```
5656
5757* ` 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 ` ).
5959
60- ### ` ignorePureComponent `
60+ ### ` ignorePureComponents `
6161
6262When ` true ` the rule will ignore Components extending from ` React.PureComponent ` that use ` this.props ` or ` this.context ` .
6363
You can’t perform that action at this time.
0 commit comments