forked from codyogden/killedbygoogle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (37 loc) · 779 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:react/recommended",
"prettier",
"prettier/react"
],
"env": {
"browser": true,
"node": true,
"jest": true
},
"plugins": ["@typescript-eslint", "json", "react-hooks", "react"],
"rules": {
"jsx-a11y/label-has-for": [
2,
{
"required": {
"some": ["nesting", "id"]
}
}
],
"react/display-name": 0,
"react/jsx-props-no-spreading": 0,
"react/jsx-filename-extension": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"import/no-unresolved": 0
},
"settings": {
"react": {
"version": "detect"
}
}
}