-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
47 lines (47 loc) · 1.04 KB
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"globals": {
"ENV": true
},
"settings": {
"pragma": "React",
"version": "16.4",
"flowVersion": "0.54.1"
},
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:import/errors", "plugin:import/warnings"],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 8,
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"quotes": [1, "double"],
"no-console": 1,
"no-unused-vars": 0,
"react/prop-types": 1,
"react/no-unknown-property": 0,
"react/require-default-props": 1,
"react/sort-prop-types":1,
"react/no-find-dom-node": 0,
"react/no-array-index-key":1,
"react/jsx-sort-props":[1,{
"ignoreCase": 1,
"callbacksLast": 1,
"reservedFirst": 1
}],
"react/sort-comp": 1,
"react/display-name": 0,
"import/first":1,
"import/no-unresolved": 0
}
}