-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
58 lines (58 loc) · 955 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
58
{
"root": true,
"extends": "eslint:recommended",
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"rules": {
"no-undef": 2,
"no-unused-vars": 2,
"eqeqeq": 2,
"quotes": [
0,
"single"
],
"strict": 0,
"no-use-before-define": 0,
"curly": [
2,
"multi-line"
],
"no-shadow": 0,
"new-cap": 0,
"eol-last": 0,
"no-underscore-dangle": 0,
"no-console": 1,
"space-before-function-paren": [
2,
{
"anonymous": "always",
"named": "never"
}
],
"space-before-blocks": [
2,
{
"functions": "always",
"keywords": "always",
"classes": "always"
}
],
"keyword-spacing": [
2,
{
"before": true,
"after": true
}
]
},
"globals": {
"Promise": true
}
}