1 | {
|
2 | "parser": "babel-eslint",
|
3 | "env": {
|
4 | "browser": true,
|
5 | "node": true
|
6 | },
|
7 | "plugins": [
|
8 | "react"
|
9 | ],
|
10 | "ecmaFeatures": {
|
11 | "jsx": true
|
12 | },
|
13 | "rules": {
|
14 | "quotes": [2, "single"],
|
15 | "eol-last": [0],
|
16 | "no-mixed-requires": [0],
|
17 | "no-underscore-dangle": [0],
|
18 | "react/display-name": 1,
|
19 | "react/jsx-boolean-value": 1,
|
20 | "react/jsx-curly-spacing": 1,
|
21 | "react/jsx-max-props-per-line": [1, {maximum: 6}],
|
22 | "react/jsx-no-duplicate-props": 1,
|
23 | "react/jsx-no-undef": 1,
|
24 | "react/jsx-quotes": 1,
|
25 | "react/jsx-sort-prop-types": 1,
|
26 | "react/jsx-sort-props": 1,
|
27 | "react/jsx-uses-react": 1,
|
28 | "react/jsx-uses-vars": 1,
|
29 | "react/no-danger": 1,
|
30 | "react/no-did-mount-set-state": 1,
|
31 | "react/no-did-update-set-state": 1,
|
32 | "react/no-multi-comp": 1,
|
33 | "react/no-unknown-property": 1,
|
34 | "react/prop-types": [1, { ignore: ["children"] }],
|
35 | "react/react-in-jsx-scope": 1,
|
36 | "react/require-extension": 1,
|
37 | "react/self-closing-comp": 1,
|
38 | "react/sort-comp": 1,
|
39 | "react/wrap-multilines": 1
|
40 | }
|
41 | }
|