-
Notifications
You must be signed in to change notification settings - Fork 62
/
.eslintrc
43 lines (43 loc) · 1.33 KB
/
.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
43
{
"extends": "xo-space",
"env": {
"mocha": true,
"node": true
},
"rules":{
"no-trailing-spaces" : "off",
"no-multiple-empty-lines":"off",
"space-before-function-paren" : "off",
"keyword-spacing" : "off",
"indent" : "off",
"quotes": ["warn", "double", "avoid-escape"],
"eol-last" : "off",
"space-before-blocks" : "off",
"no-mixed-spaces-and-tabs" : "warn",
"key-spacing" : "off",
"comma-spacing" : "off",
"no-multi-spaces" : "off",
"padded-blocks" : "warn",
"spaced-comment": "off",
"no-extra-boolean-cast" : "off",
"max-depth":["error", 4],
"no-negated-condition":"off",
"no-implicit-coercion":"off",
"no-unused-vars":"warn",
"no-useless-escape" : "off",
"space-in-parens" : "off",
"semi-spacing": "off",
"no-useless-concat": "off",
"max-params":["error", 3],
"max-nested-callbacks":["error", { "max": 3 }],
"max-statements" : ["warn", { "max": 60 }],
"max-lines": ["warn", 300],
"no-lonely-if" :"off",
"space-infix-ops" : "warn",
"camelcase" : "off",
"comma-dangle" : "warn",
"no-new-func":"off",
"no-prototype-builtins":"off",
"no-new":"warn"
}
}