-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc.json
37 lines (37 loc) · 1.16 KB
/
.eslintrc.json
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
{
"root": true,
"parser": "babel-eslint",
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"extends": ["eslint:recommended"],
"rules": {
"one-var": 0,
"semi": [1, "always", { "omitLastInOneLineBlock": true }],
"max-len": 0,
"comma-dangle": 0,
"func-names": 0,
"prefer-const": 0,
"arrow-body-style": 0,
"no-param-reassign": 0,
"no-return-assign": 0,
"indent": [1, 4, { "SwitchCase": 1}],
"no-console": 0,
"no-underscore-dangle": [1, { "allowAfterThis": true }],
"consistent-return": 0,
"no-unused-expressions": 0,
"no-multiple-empty-lines": [1, { "max": 2 }],
"prefer-template": 1,
"camelcase": [1, { "properties": "never" }],
"chonsistent-this": 0,
"keyword-spacing": [1, { "before": true, "after": true }],
"space-in-parens": [1, "never"],
"space-infix-ops": [1, { "int32Hint": false }],
"space-before-blocks": [1, "always"],
"key-spacing": [1, { "beforeColon": false, "afterColon": true }],
"eqeqeq": 1,
"no-return-await": 1
}
}