-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
61 lines (61 loc) · 982 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
59
60
61
{
"env": {
"node": true,
"commonjs": true,
"es6": true,
"browser": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"space-infix-ops": ["error", { "int32Hint": false }],
"space-in-parens": [
1,
"always",
{
"exceptions": [
"empty"
]
}
],
"object-curly-spacing": [
2,
"always"
],
"template-curly-spacing": [
1,
"always"
],
"comma-spacing": [
2,
{ "after": true }
],
"array-bracket-spacing": [
1,
"always"
],
"arrow-spacing": [ "error", { "before": true, "after": true } ],
"no-undef": 0,
"no-console": [
"error",
{
"allow": [
"warn",
"error",
"info",
"log",
"clear"
]
}
]
},
"parserOptions": {
"ecmaVersion": 2018
}
}