-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
47 lines (47 loc) · 1.06 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
47
{
"env": {
"browser": true,
"commonjs": true,
"es2020": true
},
"extends": [
"airbnb-base"
],
"parserOptions": {
"ecmaVersion": 11
},
"globals": {
"after": true,
"afterEach": true,
"before": true,
"describe": true,
"it": true
},
"rules": {
"camelcase": "off",
"eol-last": 2,
"func-names": "off",
"global-require": "off",
"indent": ["error", 2, { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"no-cond-assign": "off",
"no-console": 0,
"no-continue": "off",
"no-loop-func": "off",
"no-multiple-empty-lines": 1,
"no-multi-assign": "off",
"no-param-reassign": "off",
"no-restricted-syntax": "off",
"no-trailing-spaces": 2,
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"no-useless-escape": "off",
"max-classes-per-file": "off",
"max-len": "off",
"object-shorthand": "off",
"prefer-const": "error",
"require-atomic-updates": "off",
"space-in-parens": ["error", "never"],
"space-infix-ops": "error"
}
}