-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
64 lines (64 loc) · 1.08 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
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"airbnb"
],
"plugins": [
"import",
"react"
],
"env": {
"es6": true,
"jest": true
},
"rules": {
"comma-dangle": [
"error",
"always-multiline"
],
"import/newline-after-import": [
"error",
{
"count": 1
}
],
"max-len": "off",
"import/no-absolute-path": 0,
"import/extensions": 0,
"no-mixed-operators": 0,
"import/no-unresolved": "off",
"react/jsx-filename-extension": [
"error",
{
"extensions": [
".js",
".jsx"
]
}
],
"react/destructuring-assignment": 0,
"consistent-return": 0,
"no-restricted-properties": [
"error",
{
"property": "lenght"
}
],
"import/no-extraneous-dependencies": [
"error",
{
"packageDir": "./"
}
]
},
"globals": {
"window": true,
"document": true,
"localStorage": true,
"FormData": true,
"FileReader": true,
"Blob": true,
"navigator": true
}
}