-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
39 lines (39 loc) · 859 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
33
34
35
36
37
38
39
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6
},
"env": {
"browser": true,
"node": true,
"amd": true
},
"rules": {
"array-bracket-spacing": 2,
"brace-style": [1, "1tbs"],
"curly": [0, "multi"],
"eqeqeq": [1, "smart"],
"max-depth": [1, 4],
"max-params": [1, 5],
"new-cap": 2,
"new-parens": 0,
"no-constant-condition": 0,
"no-div-regex": 1,
"no-else-return": 1,
"no-extra-parens": 1,
"no-floating-decimal": 2,
"no-inner-declarations": 2,
"no-lonely-if": 1,
"no-nested-ternary": 2,
"no-new-object": 0,
"no-new-func": 0,
"no-underscore-dangle": 0,
"object-curly-spacing": 2,
"quotes": [2, "double", "avoid-escape"],
"radix": 2,
"keyword-spacing": 2,
"space-unary-ops": 2,
"strict": 0,
"wrap-iife": 2
}
}