-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
63 lines (63 loc) · 1.44 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
{
"extends": [
"plugin:react/recommended",
"airbnb",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/prop-types": 0,
"no-underscore-dangle": 0,
"arrow-spacing": ["error", { "before": true, "after": true }],
"object-curly-spacing": ["error", "always", { "objectsInObjects": false }],
"import/imports-first": [
"error",
"absolute-first"
],
"import/newline-after-import": "error",
"semi": ["error", "always"],
"jsx-a11y/label-has-for":"off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/control-has-associated-label": "off"
},
"globals": {
"window": true,
"document": true,
"localStorage": true,
"FormData": true,
"FileReader": true,
"Blob": true,
"navigator": true
},
"parser": "babel-eslint",
"settings": {
"import/resolver": {
"node": {
"extensions": [".js",".jsx"]
},
"alias": {
"map": [
["@components", "./src/components"],
["@containers", "./src/containers"],
["@context", "./src/context"],
["@hooks", "./src/hooks"],
["@utils", "./src/utils"],
["@styles", "./src/styles"],
["@images", "./src/assets/images"]
],
"extensions": [".js", ".jsx"]
}
}
}
}