mirror of
https://github.com/kennethnym/aris.git
synced 2026-04-13 05:11:17 +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>
33 lines
699 B
JSON
33 lines
699 B
JSON
{
|
|
"compilerOptions": {
|
|
// Environment setup & latest features
|
|
"lib": ["ESNext"],
|
|
"target": "ESNext",
|
|
"module": "Preserve",
|
|
"moduleDetection": "force",
|
|
"jsx": "react-jsx",
|
|
"allowJs": true,
|
|
|
|
// Bundler mode
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"noEmit": true,
|
|
|
|
// Types
|
|
"types": ["bun"],
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false
|
|
}
|
|
}
|