|
6 | 6 | "plugins": [
|
7 | 7 | "react"
|
8 | 8 | ],
|
9 |
| - // Setting all react rules to warning until we gain a POV. |
10 | 9 | "rules": {
|
11 |
| - "react/display-name": 1, |
12 |
| - "react/jsx-boolean-value": 1, |
13 |
| - "react/jsx-no-undef": 1, |
14 |
| - "react/jsx-quotes": 1, |
15 |
| - "react/jsx-sort-prop-types": 1, |
16 |
| - "react/jsx-sort-props": 1, |
17 |
| - "react/jsx-uses-react": 1, |
18 |
| - "react/jsx-uses-vars": 1, |
19 |
| - "react/no-did-mount-set-state": 1, |
20 |
| - "react/no-did-update-set-state": 1, |
21 |
| - "react/no-multi-comp": 1, |
22 |
| - "react/no-unknown-property": 1, |
23 |
| - "react/prop-types": 1, |
24 |
| - "react/react-in-jsx-scope": 1, |
25 |
| - "react/require-extension": 1, |
26 |
| - "react/self-closing-comp": 1, |
27 |
| - "react/sort-comp": 1, |
28 |
| - "react/wrap-multilines": 1 |
| 10 | + "react/jsx-boolean-value": 2, |
| 11 | + "react/jsx-no-undef": 2, |
| 12 | + "react/jsx-quotes": [2, "double", "avoid-escape"], |
| 13 | + "react/jsx-uses-vars": 2, |
| 14 | + "react/no-did-mount-set-state": [2, "allow-in-func"], |
| 15 | + "react/no-did-update-set-state": 2, |
| 16 | + "react/no-multi-comp": 2, |
| 17 | + "react/no-unknown-property": 2, |
| 18 | + "react/prop-types": 2, |
| 19 | + "react/react-in-jsx-scope": 2, |
| 20 | + "react/self-closing-comp": 2, |
| 21 | + "react/sort-comp": 2, |
| 22 | + "react/wrap-multilines": 2 |
29 | 23 | }
|
30 | 24 | }
|
0 commit comments