This repository has been archived by the owner on Jun 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
68 lines (61 loc) · 1.74 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
{
"root": true,
"env": {
"node": true,
"es6": true
},
"globals": {
"module": true,
"require": true
},
"rules": {
"global-strict": 0,
"no-extra-parens": 0,
"no-reserved-keys": 0,
"block-scoped-var": 2,
"complexity": [2, 10],
"default-case": 2,
"dot-location": [2, "property"],
"guard-for-in": 2,
"no-case-declarations": 2,
"no-div-regex": 2,
"no-else-return": 2,
"no-eq-null": 2,
"no-floating-decimal": 2,
"no-self-compare": 2,
"no-throw-literal": 2,
"no-void": 2,
"no-warning-comments": [1],
"radix": 2,
"wrap-iife": [2, "inside"],
"strict": [2, "global"],
"no-undefined": 2,
"no-use-before-define": [2, "nofunc"],
"indent": [2, 2],
"array-bracket-spacing": [2, "never"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"comma-style": [2, "last"],
"computed-property-spacing": [2, "never"],
"consistent-this": [2, "self"],
"func-names": 0,
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"keyword-spacing": [2, {"before": true, "after": true, "overrides": {}}],
"linebreak-style": [2, "unix"],
"max-nested-callbacks": [2, 5],
"new-cap": [2, { "capIsNew": false }],
"no-multiple-empty-lines": [2, {"max": 2}],
"no-nested-ternary": 2,
"no-unneeded-ternary": 2,
"object-curly-spacing": [2, "never"],
"operator-linebreak": [2, "after"],
"padded-blocks": [2, "never"],
"quote-props": [2, "as-needed"],
"quotes": [2, "double", "avoid-escape"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"],
"space-unary-ops": 2,
"spaced-comment": [2, "always"],
"wrap-regex": 2
}
}