-
Notifications
You must be signed in to change notification settings - Fork 228
/
.eslintrc.json
41 lines (41 loc) · 951 Bytes
/
.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
{
"extends": ["react-app", "airbnb", "airbnb/hooks", "airbnb/whitespace"],
"rules": {
"max-len": [1, {
"code": 120,
"ignoreTemplateLiterals": true,
"ignoreComments": true
}],
"jsx-a11y/label-has-associated-control": [2, {
"assert": "htmlFor"
}],
"react/jsx-props-no-spreading": "off",
"react/jsx-sort-props": [
"warn",
{
"callbacksLast": true,
"shorthandLast": true,
"noSortAlphabetically": true
}
],
"import/order": [
"warn",
{
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"import/prefer-default-export": "off"
},
"settings": {
"import/resolver": {
"node": {
"moduleDirectory":["node_modules", "src/"]
}
}
}
}