mirror of
https://github.com/kennethnym/aris.git
synced 2026-04-14 13:51:18 +01:00
- Upgrade typescript from ^5 to ^6 across all packages - Address TS6 breaking changes in tsconfig files: - Add explicit types array (new default is []) - Remove deprecated baseUrl (paths work without it) - Remove redundant esModuleInterop: true - Merge DOM.Iterable into DOM lib - Install @typescript/native-preview for tsgo CLI - Enable tsgo in VS Code settings Co-authored-by: Ona <no-reply@ona.com>
32 lines
711 B
JSON
32 lines
711 B
JSON
{
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2022", "DOM"],
|
|
"module": "ESNext",
|
|
"types": ["vite/client"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true,
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": ["src"]
|
|
}
|