|
11 | 11 | "react" |
12 | 12 | ], |
13 | 13 | "rules": { |
14 | | - "comma-spacing": 1, |
| 14 | + "comma-spacing": 2, |
15 | 15 | "key-spacing": 0, |
16 | 16 | "no-underscore-dangle": 0, |
17 | | - "no-unused-vars": [1, { "vars": "all", "args": "none" }], |
| 17 | + "no-unused-vars": [2, { "vars": "all", "args": "none" }], |
18 | 18 | "no-var": 2, |
19 | | - "object-shorthand": 1, |
20 | | - "quotes": [1, "single", "avoid-escape"], |
| 19 | + "object-shorthand": 2, |
| 20 | + "quotes": [2, "single", "avoid-escape"], |
21 | 21 | "react/display-name": 0, |
22 | | - "react/jsx-no-undef": 1, |
23 | | - "react/jsx-uses-react": 1, |
24 | | - "react/no-did-mount-set-state": 1, |
25 | | - "react/no-did-update-set-state": 1, |
26 | | - "react/no-multi-comp": 1, |
27 | | - "react/prop-types": [1, { ignore: [children, className] }], |
28 | | - "react/react-in-jsx-scope": 1, |
29 | | - "react/self-closing-comp": 1, |
30 | | - "react/wrap-multilines": 1, |
31 | | - "react/jsx-uses-vars": 1, |
| 22 | + "react/jsx-no-undef": 2, |
| 23 | + "react/jsx-uses-react": 2, |
| 24 | + "react/no-did-mount-set-state": 2, |
| 25 | + "react/no-did-update-set-state": 2, |
| 26 | + "react/no-multi-comp": 2, |
| 27 | + "react/prop-types": [2, { ignore: [children, className] }], |
| 28 | + "react/react-in-jsx-scope": 2, |
| 29 | + "react/self-closing-comp": 2, |
| 30 | + "react/wrap-multilines": 2, |
| 31 | + "react/jsx-uses-vars": 2, |
32 | 32 | "strict": 0 |
33 | 33 | } |
34 | 34 | } |
0 commit comments