-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
35 lines (35 loc) · 1 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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import"],
"extends": [
"prettier",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"no-duplicate-imports": "error",
"@typescript-eslint/no-explicit-any": 2,
"import/no-anonymous-default-export": 2,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-empty-function": 0,
"import/no-unresolved": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-var-requires": 0,
"react/display-name": 0,
"react/prop-types": 0,
"import/no-cycle": [
"error",
{
"maxDepth": 10,
"ignoreExternal": true
}
],
"no-console": ["error", { "allow": ["warn", "error"] }]
}
}