-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
42 lines (40 loc) · 1003 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
{
"extends": "airbnb-base",
"plugins": [
"import",
"mocha"
],
"env": {
"mocha": true
},
"globals": {
"chai": true,
"proxyquire": true
},
"rules": {
"max-len": [1, 100, 2],
"prefer-promise-reject-errors": 0,
"mocha/no-mocha-arrows": "error",
"no-console": 0,
"no-multi-assign": 0,
"semi": 1,
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"__comment__1": "The following rules were added to 'grandfather in' existing code.",
"__comment__2": "Please remove these as time permits.",
"consistent-return": 0,
"func-names": 0,
"function-paren-newline": ["error", "consistent"],
"mocha/no-exclusive-tests": "warn",
"no-param-reassign": 0,
"no-plusplus": 0,
"prefer-arrow-callback": 0,
"prefer-destructuring": 0,
"prefer-template": 0
}
}