-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
66 lines (66 loc) · 1.47 KB
/
.eslintrc.json
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
65
66
{
"extends": [
"airbnb",
"prettier"
],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"rules": {
"jsx-a11y/href-no-hash": [
"off"
],
"react/jsx-filename-extension": [
"warn",
{
"extensions": [
".js",
".jsx"
]
}
],
"max-len": [
"warn",
{
"code": 80,
"tabWidth": 2,
"comments": 80,
"ignoreComments": false,
"ignoreTrailingComments": true,
"ignoreUrls": true,
"ignoreStrings": true,
"ignoreTemplateLiterals": true,
"ignoreRegExpLiterals": true
}
],
//Add these to ignore errors
"react/no-unused-state": 0,
"no-unused-vars": 0,
"react/prefer-stateless-function": 0,
"no-useless-constructor": 0,
"lines-between-class-members": 0,
"no-var": 0,
"prefer-rest-params": 0,
"no-unused-expressions": 0,
"no-return-assign": 0,
"react/prop-types": 0,
"react/destructuring-assignment": 0,
"react/no-access-state-in-setstate": 0,
"react/no-array-index-key": 0,
"no-else-return": 0,
"object-shorthand":0,
"dot-notation":0,
"react/self-closing-comp": 0,
"arrow-body-style":0,
"jsx-a11y/click-events-have-key-events":0,
"jsx-a11y/no-static-element-interactions":0,
"prefer-template":0,
"react/no-did-update-set-state":0,
"no-use-before-define":0,
"vars-on-top":0
}
}