-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
72 lines (72 loc) · 1.46 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
64
65
66
67
68
69
70
71
72
{
"parser": "babel-eslint",
"rules": {
"comma-dangle": [2, "never"],
"eqeqeq": [2, "allow-null"],
"no-extra-semi": 2,
"no-cond-assign": 2,
"accessor-pairs": 2,
"no-with": 2,
"no-sparse-arrays": 2,
"vars-on-top": 2,
"no-void": 2,
"no-undef": 2,
"no-caller": 2,
"no-new": 2,
"yoda": 2,
"no-inner-declarations": 2,
"no-ex-assign": 2,
"no-else-return": 2,
"no-dupe-keys": 2,
"constructor-super": 2,
"no-extra-boolean-cast": 2,
"no-obj-calls": 2,
"no-empty": 2,
"quotes": [2, "single", "avoid-escape"],
"no-trailing-spaces": 2,
"no-lonely-if": 2,
"no-nested-ternary": 2,
"space-in-parens": [2, "never"],
"object-curly-spacing": [2, "never", {
"objectsInObjects": true,
"arraysInObjects": true
}],
"one-var": [2, {
"let": "always",
"const": "never"
}],
"no-spaced-func": 2,
"spaced-comment": [2, "always", {
"exceptions": ["-"]
}],
"quote-props": [2, "as-needed", {
"keywords": true
}],
"guard-for-in": 2,
"prefer-const": 2,
"no-var": 2,
"prefer-arrow-callback": 2,
"no-const-assign": 2,
"arrow-body-style": [2, "always"],
"arrow-parens": [2, "always"],
"arrow-spacing": [2, {
"before": true,
"after": true
}]
},
"globals": {
"console": true,
"document": true,
"window": true,
"setTimeout": true,
"setInterval": true,
"WeakMap": true,
"jasmine": true,
"spyOn": true,
"describe": true,
"beforeEach": true,
"afterEach": true,
"it": true,
"expect": true
}
}