-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
105 lines (91 loc) · 2.58 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true
},
"globals": {
"window": true,
"document": true,
"describe": true,
"context": true,
"beforeEach": true,
"afterEach": true,
"it": true
},
"rules": {
"no-reserved-keys": 2,
"no-console": 1,
"no-constant-condition": 1,
"no-debugger": 1,
"no-extra-parens": 1,
"no-extra-boolean-cast": 0,
"block-scoped-var": 2,
"curly": [2, "all"],
"default-case": 2,
"no-div-regex": 2,
"no-else-return": 2,
"no-eq-null": 2,
"no-floating-decimal": 2,
"no-multi-spaces": [2, {"exceptions": {"Property": true, "ImportDeclaration": true, "VariableDeclarator": true, "AssignmentExpression": true}}],
"no-self-compare": 2,
"wrap-iife": [2, "inside"],
"complexity": [1, 4],
"dot-notation": 1,
"guard-for-in": 1,
"no-extend-native": 1,
"no-iterator": 1,
"no-loop-func": 1,
"no-multi-str": 1,
"no-process-env": 1,
"no-proto": 1,
"no-throw-literal": 1,
"no-unused-expressions": 1,
"radix": 1,
"no-alert": 0,
"no-extra-bind": 0,
"yoda": 0,
"strict": 2,
"no-catch-shadow": 2,
"no-undefined": 1,
"no-unused-vars": [1, {"vars": "all", "args": "after-used"}],
"no-undef-init": 1,
"no-path-concat": 1,
"no-sync": 1,
"indent": [2, 2],
"comma-style": [2, "last"],
"consistent-this": [2, "_this"],
"func-style": [2, "declaration"],
"no-nested-ternary": 2,
"padded-blocks": [2, "never"],
"quotes": [2, "single"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"space-in-brackets": [2, "never"],
"space-in-parens": [2, "never"],
"space-return-throw-case": 2,
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"brace-style": [1, "1tbs", {"allowSingleLine": true}],
"comma-spacing": [1, {"before": false, "after": true}],
"func-names": 1,
"key-spacing": [1, {"align": "value", "beforeColon": false, "afterColon": true}],
"max-nested-callbacks": [1, 3],
"new-cap": [1, {"newIsCap": true, "capIsNew": true}],
"no-lonely-if": 1,
"no-multiple-empty-lines": [1, {"max": 2}],
"no-trailing-spaces": 1,
"operator-linebreak": [1, "before"],
"semi": [1, "always"],
"semi-spacing": [1, {"before": false, "after": true}],
"space-after-keywords": [1, "always"],
"space-unary-ops": 0,
"no-underscore-dangle": 0,
"no-var": 1,
"max-len": [1, 100, 2],
"max-params": [1, 4],
"max-statements": [1, 12]
},
"ecmaFeatures": {
"modules": true
}
}