File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ module.exports = {
39
39
'react/no-danger' : 1 , // Prevent usage of dangerous JSX properties
40
40
'react/no-danger-with-children' : 1 , // Prevent problem with children and props.dangerouslySetInnerHTML
41
41
'react/no-deprecated' : 1 , // Prevent usage of deprecated methods
42
- 'react/no-did-mount-set-state' : 1 , // Prevent usage of setState in componentDidMount
43
- 'react/no-did-update-set-state' : 1 , // Prevent usage of setState in componentDidUpdate
42
+ 'react/no-did-mount-set-state' : 0 , // Prevent usage of setState in componentDidMount
43
+ 'react/no-did-update-set-state' : 0 , // Prevent usage of setState in componentDidUpdate
44
44
'react/no-direct-mutation-state' : 2 , // Prevent direct mutation of this.state
45
45
'react/no-find-dom-node' : 1 , // Prevent usage of findDOMNode
46
46
'react/no-is-mounted' : 1 , // Prevent usage of isMounted
You can’t perform that action at this time.
0 commit comments