mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-26 06:12:23 +02:00
34 lines
772 B
JSON
34 lines
772 B
JSON
{
|
|
"compilerOptions": {
|
|
// Enable latest features
|
|
"lib": ["ESNext", "DOM"],
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleDetection": "force",
|
|
"allowJs": true,
|
|
|
|
// Bundler mode
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
"declaration": true,
|
|
"emitDeclarationOnly": true,
|
|
"noEmit": false,
|
|
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"types": [
|
|
"bun-types" // add Bun global
|
|
],
|
|
// "exclude": ["node_modules", "dist"]
|
|
}
|
|
}
|