-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
41 lines (41 loc) · 883 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
39
40
41
{
"extends": [
"react-app",
"plugin:jsx-a11y/recommended",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended",
"plugin:import/recommended",
"plugin:import/typescript"
],
"plugins": [
"jsx-a11y",
"react-hooks",
"import"
],
"parser": "@typescript-eslint/parser",
"settings": {
"import/resolver": {
"typescript": {
"alwaysTryTypes": true
}
}
},
"rules": {
"semi": 1,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", {
"args": "after-used"
}],
"jsx-a11y/no-autofocus": "off",
"import/no-cycle": [
1,
{
"maxDepth": 10,
"ignoreExternal": true
}
],
"import/no-named-as-default": 0,
"import/export": 1
}
}