-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
44 lines (44 loc) · 920 Bytes
/
.eslintrc.json
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
{
"env": {
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:lodash/recommended",
"plugin:mocha/recommended"
],
"installedESLint": true,
"plugins": [
"promise",
"lodash",
"mocha"
],
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"semi": [
"error",
"always"
],
"promise/always-return": "error",
"promise/no-return-wrap": "error",
"promise/param-names": "error",
"promise/catch-or-return": "error",
"promise/no-native": "off",
"promise/no-nesting": "off",
"promise/no-promise-in-callback": "warn",
"promise/no-callback-in-promise": "warn",
"promise/avoid-new": "warn",
"lodash/import-scope": "off",
"lodash/preferred-alias": "off",
"lodash/prop-shorthand": "off",
"mocha/no-exclusive-tests": "error"
}
}