-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
45 lines (45 loc) · 1.09 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
44
45
{
"env": {
"browser": true,
"node": true
},
"globals": {
"$": true,
"Modernizr": true,
"jQuery": true,
"__dirname": true
},
"rules": {
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
"consistent-return": 0,
"curly": 2,
"eqeqeq": 2,
"indent": [2, 2, { "SwitchCase": 1 }],
"key-spacing": [2, {
"beforeColon": false,
"afterColon": true
}],
"keyword-spacing": [2, {"before": true, "after": true, "overrides": {}}],
"no-multiple-empty-lines": 2,
"no-throw-literal": 2,
"no-underscore-dangle": 0,
"no-unused-vars": [2, {
"vars": "all",
"args": "none"
}],
"no-use-before-define": [2, "nofunc"],
"object-curly-spacing": [2, "always"],
"quote-props": [2, "as-needed"],
"quotes": [2, "single"],
"radix": 2,
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "always"],
"space-in-parens": [2, "never"],
"space-unary-ops": [2, {
"words": true,
"nonwords": false
}],
"strict": [2, "never"],
"wrap-iife": [2, "inside"]
}
}