-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (42 loc) · 1.17 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
{
"extends": ["airbnb", "react-app", "prettier"],
"plugins": ["prettier"],
"rules": {
"arrow-body-style": ["error", "as-needed"],
"curly": ["error", "all"],
"import/prefer-default-export": 0,
"multiline-comment-style": ["error", "starred-block"],
"no-console": "warn",
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"react/jsx-filename-extension": 0,
"react/jsx-props-no-spreading": 0,
"react/state-in-constructor": 0,
"react/static-property-placement": 0,
"react/prop-types": 0,
"object-shorthand": 0,
"new-cap": 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"jsx-a11y/label-has-associated-control": [
"error",
{
"required": {
"some": ["nesting", "id"]
}
}
],
"jsx-a11y/label-has-for": [
"error",
{
"required": {
"some": ["nesting", "id"]
}
}
]
}
}