-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
42 lines (42 loc) · 1.03 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
{
"parserOptions": {
"ecmaVersion": "latest"
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"plugins": [
],
"overrides": [
],
"extends": [
"standard"
],
"rules": {
"array-bracket-spacing": [ "error", "always" ],
"comma-dangle": [ "error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "never",
"exports": "never",
"functions": "never"
}],
"curly": [ "error", "multi" ],
"eqeqeq": [ "error", "smart" ],
"import/first": "off",
"indent": [ "error", "tab" ],
"key-spacing": ["error", { "align": "value" } ],
"no-console": "off",
"no-empty": "error",
"no-multi-spaces": [ "error", { "ignoreEOLComments": true, "exceptions": { "ImportDeclaration": true, "VariableDeclarator": true } } ],
"no-multiple-empty-lines": "off",
"no-tabs": "off",
"no-trailing-spaces": [ "error", { "ignoreComments": true } ],
"no-undef-init": "off",
"no-unneeded-ternary": "off",
"quotes": [ "error", "single", { "avoidEscape": true } ],
"space-in-parens": "off"
}
}