-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
.eslintrc.json
58 lines (58 loc) · 1.54 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
{
"root": true,
"extends": ["warp"],
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "module"
},
"globals": {
"setTimeout": false,
"clearTimeout": false,
"Promise": false
},
"rules": {
"space-before-blocks": [2, "never"],
"consistent-this": [2, "_this"],
"semi": [2, "always", {"omitLastInOneLineBlock": true}],
"curly": ["off"],
"func-style": ["off"],
"prefer-template": ["off"],
"prefer-arrow-callback": ["off"],
"no-use-before-define": ["off"],
"max-statements-per-line": ["off"],
"prefer-rest-params": ["off"],
"class-methods-use-this": ["off"],
"camelcase": ["off"],
"indent": ["off"],
"func-name-matching": ["off"],
"no-console": 2,
"eqeqeq": [2, "smart"],
"no-eq-null": ["off"],
"no-param-reassign": ["off"],
"no-shadow": ["off"],
"keyword-spacing": ["off"],
"no-plusplus": ["off"],
"operator-assignment": ["off"],
"one-var": ["off"],
"generator-star-spacing": ["error", {"before": false, "after": false}],
"no-mixed-operators": ["off"],
"capitalized-comments": ["off"],
"init-declarations": ["off"],
"function-call-argument-newline": ["off"],
"no-multi-assign": ["off"],
"no-invalid-this": ["off"]
},
"overrides": [
{
"files": ["test/**"],
"env": {"node": true},
"globals": {"Promise": false},
"rules": {
"arrow-body-style": ["off"],
"no-sequences": ["off"],
"max-len": ["off"],
"space-before-function-paren": ["error", "always"]
}
}
]
}