-
-
Notifications
You must be signed in to change notification settings - Fork 68
/
.eslintrc
32 lines (32 loc) · 788 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
{
"extends": "airbnb-base",
"rules": {
"arrow-parens": ["error", "always"],
"complexity": ["error", 30],
"global-require": "off",
"no-underscore-dangle": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"max-depth": ["error", 4],
"max-nested-callbacks": ["error", 3],
"max-params": ["error", 5],
"max-statements": ["error", 50],
"max-len": ["error", 120, 2, {
"ignoreUrls": true,
"ignoreComments": false,
"ignoreRegExpLiterals": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}],
"max-lines": ["error", {
"max": 1000,
"skipBlankLines": true,
"skipComments": true
}],
"prefer-destructuring": "off"
},
"env": {
"node": true,
"mocha": true
}
}