HuLa/tsconfig.json

34 lines
825 B
JSON
Raw Permalink Normal View History

2023-12-15 20:25:35 +08:00
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
/** Bundler mode */
2023-12-15 20:25:35 +08:00
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
"jsxImportSource": "vue",
2023-12-15 20:25:35 +08:00
/** Linting */
2023-12-15 20:25:35 +08:00
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
2023-12-16 03:56:10 +08:00
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"paths": {
"~/*": ["./*"],
"@/*": ["./src/*"]
},
"allowSyntheticDefaultImports": true
2023-12-15 20:25:35 +08:00
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{ "path": "./tsconfig.node.json" }]
}