-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc.json
75 lines (75 loc) · 1.54 KB
/
.eslintrc.json
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
73
74
75
{
"env": {
"node": true
},
"rules": {
"block-scoped-var": "error",
"comma-style": [
"error",
"last"
],
"curly": [
"error",
"all"
],
"dot-notation": [
"error",
{
"allowKeywords": false
}
],
"eol-last": "error",
"eqeqeq": [
"error",
"allow-null"
],
"indent": ["error", 4],
"new-cap": ["error", { "properties": false }],
"no-caller": "error",
"no-cond-assign": [
"error",
"except-parens"
],
"no-debugger": "error",
"no-empty": ["error", {"allowEmptyCatch": true}],
"no-eval": "error",
"no-extend-native": "error",
"no-irregular-whitespace": "error",
"no-iterator": "error",
"no-loop-func": "error",
"no-multi-str": "error",
"no-new": "error",
"no-proto": "error",
"no-script-url": "error",
"no-sequences": "error",
"no-trailing-spaces": "error",
"no-undef": "error",
"no-unused-vars": "error",
"no-with": "error",
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"space-before-blocks": ["error", "always"],
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never"}],
"space-infix-ops": "error",
"space-unary-ops": [
"error", {
"words": true,
"nonwords": false,
"overrides": {
"typeof": false
}
}],
"strict": ["error", "safe"],
"valid-typeof": "error",
"wrap-iife": [
"error",
"inside"
]
}
}