-
-
Notifications
You must be signed in to change notification settings - Fork 195
Expand file tree
/
Copy path.eslintrc.json
More file actions
28 lines (28 loc) · 624 Bytes
/
Copy path.eslintrc.json
File metadata and controls
28 lines (28 loc) · 624 Bytes
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
{
"plugins": [
"node",
"security"
],
"extends": [
"plugin:node/recommended",
"plugin:security/recommended",
"eslint:recommended",
"airbnb-base"
],
"env": {
"node": true
},
"rules": {
"no-underscore-dangle": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"radix": ["error", "as-needed"],
"consistent-return": "off",
"class-methods-use-this": "off",
"max-len": ["error", { "code": 140 }],
"node/no-unpublished-require": ["error", {
"allowModules": ["mocha", "chai", "redis-mock"]
}],
"node/no-unsupported-features": "off"
}
}