-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
47 lines (47 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
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true
}
},
"env": {
"es6": true,
"worker": true,
"node": true,
"browser": true,
"jquery": true
},
"rules": {
"keyword-spacing": [0, {
"overrides": {
"if": {"after": false},
"for": {"after": false},
"while": {"after": false},
"switch": {"after": false},
"catch": {"after": false}
}
}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true, "mode": "minimum"}],
"arrow-spacing": 2,
"comma-spacing": 2,
"comma-style": 2,
"indent": [2, 4, {"SwitchCase": 1}],
"no-bitwise": 0,
"no-alert": 2,
"no-console": 0,
"no-debugger": 1,
"no-unused-vars": 0,
"no-control-regex": 0,
"no-mixed-spaces-and-tabs": 2,
"quotes": [2, "single", "avoid-escape"],
"semi": 2,
"semi-spacing": 2,
"space-before-blocks": 2,
"space-before-function-paren": [0, {"anonymous": "always", "named": "never"}],
"space-in-parens": [2, "never"],
"space-infix-ops": 2
}
}