35 lines
945 B
JSON
35 lines
945 B
JSON
{
|
|
"exclude": ["node_modules", "dist", "vendor"],
|
|
"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,
|
|
"noFallthroughCasesInSwitch": true,
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"noImplicitThis": true,
|
|
"sourceMap": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"noErrorTruncation": true
|
|
}
|
|
}
|