-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
44 lines (44 loc) · 999 Bytes
/
.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
{
"env": {
"browser": true,
"node": true
},
"rules": {
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"camelcase": 1,
"object-shorthand": 0,
"spaced-comment": 1,
"no-invalid-this": 0,
"linebreak-style": 0,
"no-tabs": 0,
"padded-blocks": 0,
"indent": [2, "tab", { "SwitchCase": 1 }],
"strict": 2,
"func-names": 0,
"space-before-function-paren": [2, { "anonymous": "always", "named": "always" }],
"global-require": 0,
"max-len": [0, 100, 4, {
"ignoreUrls": true,
"ignoreComments": true
}],
"comma-dangle": [2, "never"],
"no-underscore-dangle": 0,
"no-empty-function": 1,
"semi": 1,
"complexity": ["error", 5],
"default-case": 1,
"eqeqeq": 1,
"no-eval": 1,
"no-extend-native": 1,
"no-fallthrough": 1,
"no-implicit-globals": 1,
"no-loop-func": 1,
"no-multi-spaces": 1,
"no-redeclare": 1,
"no-self-assign": 1,
"no-sequences": 1,
"no-useless-return": 1,
"radix": 1,
"vars-on-top": 1
}
}