mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-09 11:51:15 +02:00
61 lines
2.2 KiB
JSON
61 lines
2.2 KiB
JSON
{
|
|
"exclude": ["node_modules", "dist", "vendor"],
|
|
// For `tsc -b -w` / classic-tsserver editors (the Cursor/tsgo LSP watches via
|
|
// the client, gated by .vscode/settings.json `files.watcherExclude`).
|
|
"watchOptions": {
|
|
"watchFile": "useFsEvents",
|
|
"watchDirectory": "useFsEvents",
|
|
"excludeDirectories": [
|
|
"**/node_modules",
|
|
"**/.git",
|
|
"**/.claude",
|
|
"**/submodules",
|
|
"**/.alchemy",
|
|
"**/dist"
|
|
]
|
|
},
|
|
"compilerOptions": {
|
|
"types": ["bun"],
|
|
// Enable latest features
|
|
"lib": ["ESNext", "DOM"],
|
|
"target": "ESNext",
|
|
"moduleDetection": "force",
|
|
"jsx": "react-jsx",
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"noEmit": true,
|
|
// Bundler mode
|
|
"module": "Preserve",
|
|
"moduleResolution": "Bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"rewriteRelativeImportExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
// Resolve project references (notably every `submodules/distilled/packages/*`)
|
|
// through their emitted `lib/*.d.ts` instead of redirecting to their
|
|
// sources. Without this, editors and `tsc` pull distilled's generated
|
|
// SDK sources — hundreds of thousands of lines across 20 packages —
|
|
// into the program, which is what makes intellisense crawl. distilled
|
|
// builds with `noCheck: true` and gates its own typechecking in its
|
|
// own CI, so re-checking its sources from here buys nothing.
|
|
"disableSourceOfProjectReferenceRedirect": true,
|
|
// Don't eagerly load every referenced composite project into the language
|
|
// server on find-all-references/rename — with 6 distilled projects and ~36
|
|
// examples in the solution, eager loading is a multi-GB memory spike.
|
|
// Editor-only; no effect on `tsc -b`.
|
|
"disableReferencedProjectLoad": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"noImplicitThis": true,
|
|
"sourceMap": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"noErrorTruncation": true
|
|
}
|
|
}
|