-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
46 lines (46 loc) · 1.19 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
44
45
46
{
"env": {
"es6": true,
"node": true
},
"extends": ["plugin:import/recommended"],
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": ["import"],
"rules": {
"camelcase": [1, {"properties": "always"}],
"comma-dangle": 0,
"comma-spacing": [1, {"before": false, "after": true}],
"curly": 2,
"dot-location": [2, "property"],
"eol-last": 2,
"eqeqeq": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"keyword-spacing": 2,
"linebreak-style": 0,
"no-console": 0,
"no-irregular-whitespace": 2,
"no-multi-str": 2,
"no-multiple-empty-lines": [2, {"max": 2}],
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-unexpected-multiline": 2,
"no-unused-vars": 2,
"no-use-before-define": [2, "nofunc"],
"operator-linebreak": [2, "after"],
"quotes": [2, "double"],
"semi": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"space-infix-ops": 0,
"strict": [2, "global"],
"wrap-iife": [2, "inside"]
},
"globals": {
"_" : true
}
}