-
Notifications
You must be signed in to change notification settings - Fork 25
/
.eslintrc.json
executable file
·57 lines (46 loc) · 1023 Bytes
/
.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
48
49
50
51
52
53
54
55
56
57
{
"parser": "babel-eslint",
"extends": [
"standard",
"prettier",
"prettier/react",
"prettier/flowtype",
"prettier/standard",
"plugin:react/recommended"
],
"plugins": ["react", "flowtype", "standard", "prettier", "jsx-a11y"],
"env": {
"es6": true,
"node": true,
"browser": true
},
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"settings": {
"react": {
"version": "detect"
}
},
"globals": {
"nw": true
},
"rules": {
"quotes": [1, "double"],
"indent": [2, 2, { "SwitchCase": 1 }],
"no-console": [0],
"no-param-reassign": [0],
"react/sort-comp": [0],
"react/no-danger": [0],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"prettier/prettier": 2,
"import/first": [0],
"import/prefer-default-export": [0],
"import/no-extraneous-dependencies": [0]
}
}