-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
51 lines (50 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
{
"extends": "airbnb-base",
"globals": {
"Promise": true,
"should": true,
"Map": true
},
"env": {
"node": true,
"mocha": true
},
"rules": {
"arrow-parens": [2, "as-needed"],
"brace-style": [2, "1tbs"],
"comma-style": [2, "last"],
"curly": [2, "multi-line"],
"quotes": [2, "single"],
"camelcase": 0,
"no-debugger": 2,
"no-undef": 2,
"no-underscore-dangle": 0,
"no-mixed-requires": 0,
"max-len": [1, 120, 2, {ignoreComments: true}],
"quote-props": [1, "consistent-as-needed"],
"no-cond-assign": [2, "except-parens"],
"radix": 0,
"space-infix-ops": 0,
"no-unused-vars": [1, {"vars": "local", "args": "none"}],
"default-case": 0,
"no-param-reassign": 0,
"comma-dangle": [2, "never"],
"indent": [2, 2],
"object-curly-spacing": [2, "always"],
"array-bracket-spacing": [2, "always"],
"func-names": 0,
"no-else-return": 0,
"no-console": 0,
"no-throw-literal": 0,
"no-plusplus": [2, { "allowForLoopAfterthoughts": true }],
"id-length": 0,
"no-unused-expressions": 0,
"no-confusing-arrow": 0,
"semi": [1, "always"],
"global-require": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"strict": 0,
"new-cap": 0
}
}