-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
64 lines (64 loc) · 1.17 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:regexp/recommended"
],
"ignorePatterns": [
"builds/*",
"learn/**",
"scripts/**",
"plugins/dates/**"
],
"env": {
"es6": true,
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": "latest",
"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
}
}