-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.eslintrc.json
44 lines (44 loc) · 1.05 KB
/
.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
42
43
44
{
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"react",
"jest",
"prettier",
"jsx-a11y",
"react-hooks"
],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:jest/recommended",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/consistent-type-exports": "error",
"@typescript-eslint/no-explicit-any": "off",
"react/no-find-dom-node": "off",
"react/prop-types": "off",
"jest/no-test-callback": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"jest/no-conditional-expect": "off"
},
"parserOptions": {
"project": ["./tsconfig.json"]
},
"settings": {
"react": {
"version": "detect"
}
},
"ignorePatterns": [
"es/",
"lib/",
"node_modules/",
"src/General/Icon/components"
]
}