-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
65 lines (65 loc) · 1.77 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
{
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"rules": {
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"camelcase": 0,
"comma-style": [2, "last"],
"consistent-this": [0, "self"],
"curly": [2, "multi-line"],
"default-case": 2,
"dot-location": [2, "property"],
"dot-notation": [2, { "allowKeywords": true }],
"generator-star-spacing": [2, "after"],
"guard-for-in": 2,
"indent": [2, 2],
"max-depth": [1, 6],
"max-len": [1, 100, 2],
"max-nested-callbacks": [1, 6],
"max-params": [1, 5],
"no-bitwise": 2,
"no-else-return": 2,
"no-extra-parens": 2,
"no-floating-decimal": 2,
"no-inline-comments": 0,
"no-lonely-if": 2,
"no-multiple-empty-lines": [2, {"max": 2}],
"no-nested-ternary": 2,
"no-new-require": 2,
"no-self-compare": 2,
"no-shadow": 0,
"new-cap": [2, {"newIsCap": false, "capIsNew": false}],
"no-throw-literal": 2,
"no-underscore-dangle": 0,
"no-unneeded-ternary": 2,
"no-use-before-define": [2, "nofunc"],
"no-void": 2,
"one-var": [2, "never"],
"object-curly-spacing": [1, "always"],
"operator-linebreak": [2, "before"],
"padded-blocks": [2, "never"],
"quote-props": [2, "as-needed"],
"quotes": [2, "single"],
"radix": 2,
"space-after-keywords": [2, "always"],
"space-before-blocks": [1, "always"],
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"],
"spaced-line-comment": [2, "always"],
"strict": 0,
"valid-jsdoc": [1, {
"prefer": {
"returns": "return"
},
"requireReturn": false,
"requireReturnDescription": false
}],
"wrap-iife": [2, "outside"],
"wrap-regex": 2,
"yoda": [1, "never"]
}
}