forked from honeinc/uniql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
43 lines (43 loc) · 1.09 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
38
39
40
41
42
43
{
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "script"
},
"rules": {
"array-bracket-spacing": [ "error", "always" ],
"block-spacing": "error",
"constructor-super": "warn",
"indent": [ "error", 4, {
"SwitchCase": 1
} ],
"no-const-assign": "error",
"no-extra-semi": [ "error" ],
"no-multiple-empty-lines": [ "error", {
"max": 1,
"maxEOF": 1
} ],
"no-this-before-super": "error",
"no-undef": "error",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"no-use-before-define": [
"error",
{
"functions": false
}
],
"prefer-const": "error",
"quotes": [ "warn", "single" ],
"semi": "error",
"space-in-parens": [ "error", "always" ],
"space-infix-ops": [ "error", {
"int32Hint": false
} ],
"valid-typeof": "warn"
}
}