-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
44 lines (42 loc) · 991 Bytes
/
.eslintrc
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
{
"root": true,
"extends": ["eslint:recommended", "plugin:regexp/recommended"],
"env": {
"es6": true,
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"comma-dangle": [1, "only-multiline"],
"quotes": [0, "single", "avoid-escape"],
"max-nested-callbacks":[1, 4],
"max-params":[1, 5],
"consistent-return":1,
"no-bitwise":1,
"no-empty":1,
"no-console":1,
"no-duplicate-imports":1,
"no-eval":2,
"no-implied-eval":2,
"no-mixed-operators":2,
"no-multi-assign":2,
"no-nested-ternary":1,
"no-prototype-builtins":0,
"no-self-compare":1,
"no-sequences":1,
"no-shadow":2,
"no-unmodified-loop-condition":1,
"no-use-before-define":1,
"prefer-const": 0,
"radix":1,
"no-unused-vars":1,
"regexp/prefer-d": 0,
"regexp/prefer-w": 0,
"regexp/prefer-range": 0,
"regexp/no-unused-capturing-group": 0
}
}