refactor: merge tsconfig.test.json into tsconfig.json
This commit is contained in:
parent
1c629436eb
commit
fa48c95dc5
3 changed files with 3 additions and 10 deletions
|
|
@ -338,7 +338,7 @@ export default defineConfig([
|
||||||
},
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
projectService: false,
|
projectService: false,
|
||||||
project: './tsconfig.test.json',
|
project: './tsconfig.json',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@
|
||||||
"@preload/*": ["./src/preload/*"],
|
"@preload/*": ["./src/preload/*"],
|
||||||
"@shared/*": ["./src/shared/*"]
|
"@shared/*": ["./src/shared/*"]
|
||||||
},
|
},
|
||||||
"types": ["node"]
|
"types": ["node", "vitest/globals"]
|
||||||
},
|
},
|
||||||
"include": ["src/**/*"],
|
"include": ["src/**/*", "test/**/*"],
|
||||||
"exclude": ["node_modules", "dist", "dist-electron"]
|
"exclude": ["node_modules", "dist", "dist-electron"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
"extends": "./tsconfig.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"types": ["node", "vitest/globals"]
|
|
||||||
},
|
|
||||||
"include": ["test/**/*", "src/**/*"]
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue