-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
46 lines (46 loc) · 1.14 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
{
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 8,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"rules": {
"block-scoped-var": 2,
"brace-style": [2, "stroustrup"],
"camelcase": 0,
"curly": 2,
"eol-last": 2,
"eqeqeq": [2, "smart"],
"max-depth": [1, 3],
"max-statements": [1, 40],
"max-len": 0,
"new-cap": 0,
"no-extend-native": 2,
"no-mixed-spaces-and-tabs": 2,
"no-multiple-empty-lines": [2, {"max": 1}],
"no-trailing-spaces": 2,
"no-use-before-define": 0,
"no-undefined": 2,
"no-undef": 2,
"no-unused-vars": 1,
"indent": [2, 2, { "MemberExpression": 0 }],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "never"],
"keyword-spacing": [2, {"before": true, "after": true}],
"object-curly-spacing": [2, "never"],
"array-bracket-spacing": [2, "never"],
"computed-property-spacing": 1,
"space-unary-ops": 0,
"valid-jsdoc": 1,
"no-nested-ternary": 2,
"no-underscore-dangle": 0,
"comma-dangle": [1, "always-multiline"],
"no-shadow": 1
}
}