This repository has been archived by the owner on Sep 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
61 lines (61 loc) · 1.46 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
{
"extends": [
"airbnb",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/react",
"prettier/@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "react-hooks"],
"env": {
"browser": true,
"es6": true,
"jest": true
},
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": 2019,
"sourceType": "module"
},
"rules": {
"jsx-no-multiline-js": 0,
"jsx-no-lambda": 0,
"@typescript-eslint/prefer-interface": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/consistent-type-definitions": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
"react/no-did-update-set-state": 0,
"jsx-a11y/label-has-for": 0,
"@typescript-eslint/no-unused-vars": [
"error",
{
"ignoreRestSiblings": true
}
],
"react/jsx-wrap-multilines": [
"error",
{ "declaration": false, "assignment": false }
],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react/jsx-filename-extension": [
1,
{
"extensions": [".tsx"]
}
],
"react/prop-types": 0,
"import/extensions": 0,
"import/prefer-default-export": 0,
"react/jsx-fragments": 0,
"react/jsx-props-no-spreading": 1
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}