Skip to content

Commit bea1acc

Browse files
committed
update some more linting rules
1 parent abeffff commit bea1acc

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.eslintrc.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)