-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
40 lines (40 loc) · 1.03 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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import", "react", "react-hooks"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"env": {
"es6": true,
"browser": true,
"node": true
},
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-empty-function": 1,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": [1, {"argsIgnorePattern": "^_"}],
"import/no-duplicates": 2,
"import/no-unresolved": 0,
"react/prop-types": 0,
"no-console": [1, {"allow": ["warn", "error"]}],
"no-empty": 1
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": [2, {"allowArgumentsExplicitlyTypedAsAny": true}]
}
}
]
}