feat(task4): update TypeScript configs to use shared presets

This commit is contained in:
2026-07-02 15:31:29 +08:00
parent 6f6d27d7ea
commit 5cf7fe05e9
6 changed files with 27 additions and 77 deletions

View File

@@ -1,25 +1,8 @@
{
"extends": "@gongxue/typescript-config/react-vite.json",
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"target": "es2023",
"lib": ["ES2023", "DOM"],
"module": "esnext",
"types": ["vite/client"],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"noUnusedLocals": true,
"noUnusedParameters": true,
"erasableSyntaxOnly": true,
"noFallthroughCasesInSwitch": true
"types": ["vite/client"]
},
"include": ["src"]
}