-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
37 lines (34 loc) · 1.27 KB
/
Copy pathtsconfig.json
File metadata and controls
37 lines (34 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"compilerOptions": {
// Environment setup & latest features
// DOM lib is required because src/web/client/main.tsx targets the browser
// (window, document, WebSocket, HTMLDivElement, etc.). The rest of the
// codebase is Node/Bun and doesn't use DOM APIs, so including DOM here
// costs nothing for them and unblocks typecheck for the web client.
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "Preserve",
"moduleDetection": "force",
"jsx": "react-jsx",
"jsxImportSource": "react",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
// Unused locals/params — enforced via biome lint (noUnusedImports, noUnusedVariables)
// rather than tsc to allow _-prefixed intentional ignores
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
},
"include": ["src"],
"exclude": ["vscode-extension", "node_modules", "dist", "archived", "mobile", "ide", "sdk", "backend", "benchmarks"]
}