-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy path.eslintrc
27 lines (25 loc) · 795 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
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2018,
"impliedStrict": true
},
"env": {
"commonjs": true,
"browser": true,
"node": true,
"es6": true
},
"rules": {
"complexity": ["error", {"max" : 5}],
"max-depth": ["error", {"max" : 2}],
"max-nested-callbacks": ["error", {"max" : 2}],
"max-params": ["error", {"max" : 3}],
"max-statements": ["error", {"max" : 11}, {"ignoreTopLevelFunctions": false}],
"max-len": ["error", {"code" : 120}],
"max-lines": ["error", {"max": 250, "skipComments": true, "skipBlankLines": true}],
"semi": ["error", "always"],
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
"no-prototype-builtins": 0
}
}