-
Notifications
You must be signed in to change notification settings - Fork 47
/
.eslintrc
56 lines (55 loc) · 1.08 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
56
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"space-before-blocks": [ 2, "always" ],
"space-before-function-paren": [ 2, { "anonymous": "always", "named": "never" } ],
"no-multiple-empty-lines": ["error", {"max": 1}],
"spaced-comment": 2,
"no-multi-spaces": 2,
"one-var-declaration-per-line": 2,
"no-trailing-spaces": 2,
"eol-last": 2,
"eqeqeq": 2,
"space-in-parens": 2,
"space-infix-ops": 2,
"arrow-spacing": 2,
"arrow-parens": [2, "as-needed"],
"no-undef": 2,
"no-eq-null": 2,
"linebreak-style": 2,
"strict": [
2,
"safe"
],
"key-spacing": [
2,
{
"afterColon": true,
"mode": "minimum"
}
],
"max-len": [
2,
140
],
"valid-jsdoc": [
1,
{
"requireParamDescription": false,
"requireReturnDescription": false,
"requireReturn": false
}
]
},
"env": {
"node": true,
"es6": true
},
"ecmaFeatures": {
"modules": true
}
}