-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.eslintrc
44 lines (44 loc) · 923 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
{
"env": {
"browser": true,
"node":true,
"es6":true,
"jest":true
},
"globals": {
"require": true,
"module":true,
"window":true,
"$":true,
"jQuery" : true
},
"extends": ["eslint:recommended","plugin:react/recommended"],
"parser": "babel-eslint",
"rules": {
"semi": [0],
"no-constant-condition":[2],
"no-undef" : [2],
"no-dupe-args":[2],
"no-unreachable":[1],
"no-cond-assign":[2],
"no-dupe-keys":[1],
"prefer-const":[1],
"no-const-assign":[2],
"no-duplicate-imports":[2],
"no-useless-constructor":[1],
"no-class-assign":[2],
"no-confusing-arrow":[2],
"constructor-super":[2],
"prefer-spread":[1],
"no-lonely-if":[1],
"no-continue":[1],
"no-redeclare":[0],
"comma-dangle":[0],
"no-extra-semi":[0],
"no-console":[0],
"no-mixed-spaces-and-tabs":[0],
},
"plugins": [
"react"
]
}