2026-08-01 16:27:22 +08:00
|
|
|
{
|
|
|
|
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
|
|
|
"compilerOptions": {
|
|
|
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
|
|
|
"types": ["vite/client"],
|
|
|
|
|
"allowArbitraryExtensions": true,
|
|
|
|
|
"paths": {
|
|
|
|
|
"@/*": ["./src/*"]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/* Linting */
|
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
|
"erasableSyntaxOnly": true,
|
|
|
|
|
"noFallthroughCasesInSwitch": true
|
|
|
|
|
},
|
2026-08-25 16:44:47 +08:00
|
|
|
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
|
2026-08-25 19:56:22 +08:00
|
|
|
// vitest specs are run by vitest (own type resolution via `vitest` import),
|
|
|
|
|
// not part of the app build — keep them out of the app type-check
|
|
|
|
|
// (create-vue scaffold pattern; a dedicated tsconfig.vitest.json could
|
|
|
|
|
// type-check them separately if ever needed).
|
2026-08-25 16:44:47 +08:00
|
|
|
"exclude": ["src/**/__tests__/*"]
|
2026-08-01 16:27:22 +08:00
|
|
|
}
|