-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy path.eslintrc
63 lines (63 loc) · 1.33 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"root": true,
"parserOptions": {
"ecmaVersion": 6
},
"env": {
"node": true
},
"rules": {
"no-new-object": 1,
"no-array-constructor": 1,
"array-callback-return": 1,
"one-var": ["warn", "never"],
"indent": ["warn", 2, { "SwitchCase": 1 }],
"wrap-iife": 1,
"no-loop-func": 1,
"no-duplicate-imports": 1,
"dot-notation": 1,
"no-restricted-properties": 1,
"no-undef": 1,
"no-multi-assign": 1,
"eqeqeq": 1,
"no-case-declarations": 1,
"no-nested-ternary": 1,
"no-unneeded-ternary": 1,
"nonblock-statement-body-position": 1,
"brace-style": 1,
"spaced-comment": 1,
"space-before-blocks": 1,
"keyword-spacing": 1,
"space-infix-ops": 1,
"eol-last": 1,
"newline-per-chained-call": 0,
"no-whitespace-before-property": 1,
"space-in-parens": 1,
"array-bracket-spacing": 1,
"object-curly-spacing": 1,
"comma-style": 1,
"comma-dangle": 0,
"semi": 1,
"no-new-wrappers": 1,
"radix": 1,
"camelcase": 1,
"new-cap": 1,
"no-restricted-globals": 1
},
"overrides": [
{
"files": ["*-spec.js"],
"rules": {
"no-undef": 0,
"indent": 0,
"newline-per-chained-call": 0
}
},
{
"files": ["Gruntfile.js"],
"rules": {
"camelcase": 0
}
}
]
}