-
Notifications
You must be signed in to change notification settings - Fork 66
/
.eslintrc
77 lines (77 loc) · 1.27 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
73
74
75
76
77
{
"env": {
"browser": true,
"amd": true
},
"rules": {
"no-console": 1,
"no-debugger": 1,
"no-alert": 1,
"valid-typeof": 1,
"no-irregular-whitespace": 1,
"no-extra-semi": 1,
"no-inner-declarations": 1,
"no-implicit-coercion": 1,
"no-implicit-globals": 1,
"no-redeclare": 1,
"key-spacing": 0,
"comma-spacing": 1,
"array-bracket-spacing": [
1,
"never"
],
"block-spacing": [
1,
"always"
],
"curly": [
0,
"multi-line"
],
"brace-style": [
0,
"stroustrup"
],
"camelcase": 1,
"comma-dangle": [
"error",
"never"
],
"comma-style": [
"error",
"last"
],
"computed-property-spacing": 1,
"indent": [
"error",
4,
{
"SwitchCase" : 1
}
],
"eol-last": 2,
"no-constant-condition": 1,
"no-use-before-define": 0,
"no-mixed-spaces-and-tabs": 1,
"func-style": [
"error",
"declaration"
],
"new-cap": 1,
"new-parens": 2,
"no-unused-vars": [
"warn",
{
"vars": "local",
"args": "none"
}
],
"quotes": [
"error",
"single"
],
"space-infix-ops": 1,
"strict": 0,
"eqeqeq": 1
}
}