diff options
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -14,6 +14,8 @@ | |||
14 | "extensions": [".js", ".jsx"] | 14 | "extensions": [".js", ".jsx"] |
15 | }], | 15 | }], |
16 | "react/forbid-prop-types": 1, | 16 | "react/forbid-prop-types": 1, |
17 | "react/destructuring-assignment": 1, | ||
18 | "prefer-destructuring": 1, | ||
17 | "no-underscore-dangle": 0, | 19 | "no-underscore-dangle": 0, |
18 | "max-len": 0, | 20 | "max-len": 0, |
19 | "class-methods-use-this": 0, | 21 | "class-methods-use-this": 0, |
@@ -21,7 +23,23 @@ | |||
21 | "react/jsx-no-bind": 0, | 23 | "react/jsx-no-bind": 0, |
22 | "jsx-a11y/no-static-element-interactions": 0, | 24 | "jsx-a11y/no-static-element-interactions": 0, |
23 | "react/jsx-no-target-blank": 0, | 25 | "react/jsx-no-target-blank": 0, |
24 | "no-restricted-syntax": [0, "ForInStatement"] | 26 | "no-restricted-syntax": [0, "ForInStatement"], |
27 | "jsx-a11y/no-noninteractive-element-interactions": 1, | ||
28 | "jsx-a11y/label-has-for": [ | ||
29 | 2, | ||
30 | { | ||
31 | "components": [ | ||
32 | "Label" | ||
33 | ], | ||
34 | "required": { | ||
35 | "every": [ | ||
36 | "id" | ||
37 | ] | ||
38 | }, | ||
39 | "allowChildren": false | ||
40 | } | ||
41 | ], | ||
42 | "jsx-a11y/click-events-have-key-events": 1 | ||
25 | }, | 43 | }, |
26 | "globals": { | 44 | "globals": { |
27 | "window": true, | 45 | "window": true, |