-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
61 lines (61 loc) · 1.3 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
{
"extends": "eslint:recommended",
"env": {
"node": true,
"commonjs": true,
"amd": true,
"es6": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"globalReturn": true,
"impliedStrict": true
}
},
"globals": {
},
"settings": {
"import/ignore": [
"node_modules"
]
},
"rules": {
"no-const-assign": 1,
"no-extra-semi": 2,
"semi": 0,
"no-case-declarations": 2,
"no-console": 0,
"no-fallthrough": 0,
"no-empty": 0,
"no-empty-pattern": 2,
"no-mixed-spaces-and-tabs": 0,
"no-octal": 2,
"no-redeclare": [
2,
{
"builtinGlobals": true
}
],
"no-self-assign": 2,
"no-this-before-super": 1,
"no-undef": 1,
"no-unreachable": 1,
"no-unused-vars": 1,
"no-use-before-define": 0,
"constructor-super": 1,
"curly": 0,
"eqeqeq": 0,
"func-names": 0,
"valid-typeof": 1,
"indent": [
"error",
4,
{
"SwitchCase": 1
}
]
}
}