1 | {
|
2 | "env": {
|
3 | "node": true,
|
4 | "browser": true
|
5 | },
|
6 | "parser": "babel-eslint",
|
7 | "plugins": [
|
8 | "react"
|
9 | ],
|
10 | "rules": {
|
11 | "curly": [0],
|
12 | "react/prop-types": 1,
|
13 | "react/no-multi-comp": 2,
|
14 | "react/no-danger": 2,
|
15 | "react/display-name": [2, { "acceptTranspilerName": true }],
|
16 | "react/no-unknown-property": [2],
|
17 | "react/prop-types": 2,
|
18 | "react/require-extension": [2, { "extensions": [".js", ".jsx"] }],
|
19 | "react/self-closing-comp": [2],
|
20 | "no-alert": [0],
|
21 | "new-cap": [0],
|
22 | "quotes": [2, "single"],
|
23 | "eol-last": [0],
|
24 | "no-mixed-requires": [0],
|
25 | "camelcase": [0],
|
26 | "consistent-return": [0],
|
27 | "no-underscore-dangle": [0],
|
28 | "comma-spacing": [0],
|
29 | "key-spacing": [0],
|
30 | "no-use-before-define": [0]
|
31 | }
|
32 | }
|