-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslint
50 lines (47 loc) · 1.06 KB
/
.eslint
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
{
"env": {
"browser": true,
"node": true,
"amd": true
},
"rules": {
// Possible Errors
"no-cond-assign": 1,
"no-console": 1,
"no-comma-dangle": 0,
"no-empty": 1,
"no-extra-boolean-cast": 1,
"no-extra-semi": 1,
"no-inner-declarations": 0,
"no-regex-spaces": 0,
"no-reserved-keys": 2,
// Best Practices
"eqeqeq": 0,
"no-alert": 1,
"no-caller": 0,
"no-eq-null": 0,
"no-eval": 0,
"no-floating-decimal": 2,
"no-loop-func": 1,
"no-redeclare": 0,
"no-return-assign": 1,
"no-unused-expressions": 0,
"no-void": 2,
"wrap-iife": 1,
"strict": 0,
// Other
"no-delete-var": 0,
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"consistent-this": [1, "self"],
"new-parens": 0,
"no-lonely-if": 2,
"no-underscore-dangle": 0,
"quotes": [2, "single", "avoid-escape"],
"semi": [1, "never"],
"space-after-keywords": [2, "always"],
"space-unary-word-ops": 2,
"max-len": [1, 80, 2],
"max-depth": [1, 5],
"max-params": [1, 5]
}
}