-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 1.03 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
{
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb",
"plugin:jsx-a11y/recommended",
"prettier",
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"jsx-a11y",
"prettier",
"@typescript-eslint",
"react-hooks"
],
"rules": {
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"react-hooks/rules-of-hooks": "off",
"react/prop-types": "off",
"no-console": "off",
"import/extensions": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"no-shadow": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"react/jsx-props-no-spreading": "off",
"jsx-a11y/label-has-associated-control": "off",
"import/no-unresolved": [2, { "caseSensitive": false }],
"react-hooks/exhaustive-deps": [
"warn", {
"additionalHooks": "useRecoilCallback"
}
]
}
}