forked from pixelunion/bc-tabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
43 lines (43 loc) · 1.06 KB
/
.eslintrc
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
{
"rules": {
"indent": [2, 2, {"SwitchCase": 1}],
"quotes": [2, "single", "avoid-escape"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"comma-dangle": [2, "always-multiline"],
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
"space-in-parens": [2, "never"],
"space-infix-ops": [2, {"int32Hint": false}],
"eol-last": 2,
"linebreak-style": 2,
"no-var": 2,
"no-const-assign": 2,
"prefer-const": 2,
"comma-style": [2, "last"],
"one-var": [2, "never"],
"eqeqeq": [2, "smart"],
"camelcase": [2, {"properties": "always"}],
"no-this-before-super": 2,
"prefer-arrow-callback": 2,
"prefer-spread": 2,
"prefer-template": 2,
"constructor-super": 2,
"object-shorthand": 2,
"no-loop-func": 2,
},
"env": {
"es6": true,
"browser": true,
"jquery": true,
"node": true
},
"extends": "eslint:recommended",
"ecmaFeatures": {
"modules": true,
"classes": true,
"spread": true,
"forOf": true,
"blockBindings": true,
"arrowFunctions": true
}
}