-
Notifications
You must be signed in to change notification settings - Fork 448
/
.eslintrc.json
35 lines (35 loc) · 814 Bytes
/
.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
{
"root": true,
"env": {
"browser": false,
"node": true,
"es6": true,
"jest": true
},
"extends": ["eslint:recommended"],
"parserOptions": {
"ecmaVersion": "2022",
"sourceType": "module"
},
"plugins": ["promise", "unused-imports", "jest"],
"rules": {
"camelcase": 0,
"curly": 2,
"eqeqeq": 2,
"func-call-spacing": 0,
"guard-for-in": 2,
"indent": ["error", 2, { "SwitchCase": 1 }],
"key-spacing": 0,
"max-depth": ["error",{"max" : 4}],
"no-irregular-whitespace": 2,
"no-multi-spaces": 0,
"padded-blocks": 0,
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"semi": 0,
"no-path-concat": 1,
"no-undef": 2,
"unused-imports/no-unused-imports": "error",
"no-unused-vars": 2,
"no-var": 1
}
}