Files
yunke/yunkes/tsconfig.app.json
T

24 lines
787 B
JSON
Raw Normal View History

{
"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
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
// 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).
"exclude": ["src/**/__tests__/*"]
}