mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
35 lines
823 B
JSON
35 lines
823 B
JSON
{
|
|
"compilerOptions": {
|
|
// Enable latest features
|
|
"lib": ["ESNext", "DOM"],
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleDetection": "force",
|
|
"jsx": "react-jsx",
|
|
|
|
// Bundler mode
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"emitDeclarationOnly": true,
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"strictNullChecks": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"stripInternal": true,
|
|
|
|
// thank you Titian
|
|
"isolatedDeclarations": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
|
|
// Some stricter flags (disabled by default)
|
|
"noImplicitAny": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false
|
|
}
|
|
}
|