-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
61 lines (53 loc) · 1.32 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"extends": "es/2015/server",
"plugins": [
"json"
],
"rules": {
"array-bracket-spacing": [2, "never"],
"dot-location": [2, "property"],
"linebreak-style": 0,
"indent": [
2,
2,
{
"CallExpression": {"arguments": "off"},
"ignoreComments": true,
"SwitchCase": 1,
"VariableDeclarator": {
"var": 2,
"let": 2,
"const": 3
},
"MemberExpression": "off"
}
],
"no-spaced-func": 2,
"object-curly-spacing": [2, "never"],
"object-shorthand": 0,
"operator-linebreak": 0,
"space-after-keywords": 0,
"space-before-function-paren": [2, "never"],
"comma-dangle": ["error", "only-multiline"],
"lines-around-comment": 0,
"line-comment-position": 0,
"no-inline-comments": 0,
"no-multiple-empty-lines": 0,
"no-multi-spaces": 0,
"key-spacing": 0,
"no-warning-comments": 0,
"no-plusplus": 0,
"no-restricted-syntax": [0, "ClassDeclaration"],
"max-params": 0,
"no-process-exit": 0,
"prefer-template": 0,
"keyword-spacing": ["error", {"overrides": {
"catch": {"after": false},
"if": {"after": false},
"for": {"after": false},
"switch": {"after": false},
"while": {"after": false}
}}],
"max-len": ["error", 120]
}
}