-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
42 lines (42 loc) · 1.18 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
{
"extends": "airbnb-base",
"globals": {
"document": true,
"window": true
},
"rules": {
"quotes": [1, "double", {"avoidEscape": true}],
"wrap-iife": [2, "inside"],
"no-unused-expressions": [2, {
"allowShortCircuit": true
}],
"one-var": ["error", "always"],
"no-extra-boolean-cast": 1,
"no-extra-semi": 1,
"semi": [
1, "always", { "omitLastInOneLineBlock": true }
],
"no-new": "error",
"no-underscore-dangle": [1],
"no-new": [1],
"indent": [2,4, {"SwitchCase":1}],
"spaced-comment": ["error", "always"],
"no-param-reassign": [1],
"no-cond-assign": [1],
"no-mixed-operators": 0,
"no-plusplus": 0,
"no-restricted-properties": [1, {
"object": "Math",
"property": "pow"
}],
"no-restricted-syntax": [1, "WithStatement"],
"no-useless-constructor": 0,
"prefer-const": [1],
"consistent-return": [1, {
"treatUndefinedAsUnspecified": true
}],
"comma-dangle": ["error", {
"exports": "never"
}]
}
}