-
Notifications
You must be signed in to change notification settings - Fork 24
/
.eslintrc
46 lines (39 loc) · 782 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
45
46
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true,
},
"ecmaFeatures": {
"modules": true,
},
"globals": {
"process.env": true,
"React": true,
"ReactDOM": true
},
"plugins": [
"smells",
"react"
],
"extends": [
"standard",
"eslint:recommended",
"plugin:react/recommended"
],
"rules": {
"key-spacing": 0,
"no-trailing-spaces": 0,
"no-multiple-empty-lines": [2, {"max": 2}],
"padded-blocks": 0,
"semi": [2, "always"],
"arrow-parens": 0,
"smells/no-switch": 0,
"smells/no-complex-switch-case": 1,
"smells/no-setinterval": 1,
"smells/no-this-assign": 1,
"smells/no-complex-string-concat": 1,
"smells/no-complex-chaining": 0
}
}