-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
40 lines (38 loc) · 954 Bytes
/
.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
{
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"plugin:react-hooks/recommended",
"prettier"
],
"rules": {
"@typescript-eslint/no-misused-promises": [
"error",
{ "checksVoidReturn": false }
],
"@typescript-eslint/no-unused-vars": "off"
},
"overrides": [
{
"files": ["./projects/admin/**/*.ts", "./projects/admin/**/*.tsx"],
"parserOptions": {
"project": "./projects/admin/tsconfig.json"
}
},
{
"files": ["./projects/client/**/*.ts", "./projects/client/**/*.tsx"],
"parserOptions": {
"project": "./projects/client/tsconfig.json"
}
},
{
"files": ["./projects/server/**/*.ts"],
"parserOptions": {
"project": "./projects/server/tsconfig.json"
}
}
]
}