forked from it-shark-pro/js-assignments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
55 lines (55 loc) · 1.1 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
44
45
46
47
48
49
50
51
52
53
54
55
{
"env": {
"es6": true,
"node": true
},
"extends": ["eslint:recommended"],
"rules": {
"array-bracket-spacing": 0,
"arrow-parens": [2, "as-needed"],
"comma-dangle": [2, "never"],
"comma-spacing": [2, {"after": true}],
"curly": [2, "multi-line"],
"eqeqeq": 2,
"func-names": 0,
"indent": [2, 2],
"max-len": ["error", {
"code": 80,
"ignoreComments": true
}],
"no-console": [ 1, {"allow": ["info", "error", "warn"]}],
"no-new-wrappers": 0,
"no-proto": 0,
"no-prototype-builtins": 0,
"no-restricted-syntax": 1,
"no-sparse-arrays": 0,
"no-unreachable": 2,
"no-unused-expressions": 2,
"no-unused-vars": [2, {"args": "none"}],
"semi": 2,
"quotes": [
2,
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"require-yield": 1,
"prefer-const": 2
},
"overrides": [
{
"files": [
"**/test/**",
"**/extensions/**"
],
"env": {
"mocha": true
},
"rules": {
"max-len": 0
}
}
]
}