File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -81,12 +81,9 @@ rules:
8181 - reservedFirst : true
8282 ignoreCase : true
8383 callbacksLast : true
84- react/no-did-mount-set-state : warn
85- react/no-did-update-set-state : warn
8684 react/no-multi-comp : off # prevent multiple component definition per file
87- react/no-string-refs : error
88- react/no-unescaped-entities : off
89- react/no-unknown-property : warn
85+ react/no-redundant-should-component-update : warn
86+ react/no-typos : error
9087 react/prop-types : off
9188 react/self-closing-comp : warn # prevent extra closing tags for components without children
9289 react/sort-comp :
@@ -102,9 +99,8 @@ rules:
10299 react/jsx-boolean-value : [error, always]
103100
104101 # flow rules
105- flowtype/define-flow-type : warn
102+ flowtype/no-dupe-keys : error
106103 flowtype/use-flow-type : error
107- flowtype/valid-syntax : error
108104
109105 # react-native rules
110106 react-native/no-unused-styles : warn
You can’t perform that action at this time.
0 commit comments