forked from s-a/motivation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (42 loc) · 1.3 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
{
"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" : "off",
"spaced-comment": "off",
"no-extra-boolean-cast" : "off",
"max-statements" : ["warn", { "max": 20 }],
"max-params":["error", 3],
"max-nested-callbacks":["error", { "max": 3 }],
"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-lines": ["warn", 130],
"no-lonely-if" :"off",
"space-infix-ops" : "warn",
"camelcase" : "off",
"comma-dangle" : "warn",
"no-new-func":"off",
"no-prototype-builtins":"off",
"no-new":"warn"
}
}