2022-01-22 20:51:29 +01:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
2024-07-12 14:58:58 +02:00
|
|
|
// Enable latest features
|
2024-07-13 14:18:12 +02:00
|
|
|
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
2024-07-12 14:58:58 +02:00
|
|
|
"target": "ESNext",
|
|
|
|
"module": "ESNext",
|
|
|
|
"moduleDetection": "force",
|
|
|
|
"jsx": "react-jsx",
|
|
|
|
"allowJs": true,
|
|
|
|
// Bundler mode
|
2024-07-14 12:42:59 +02:00
|
|
|
"moduleResolution": "node",
|
2024-07-12 14:58:58 +02:00
|
|
|
"allowImportingTsExtensions": true,
|
|
|
|
"verbatimModuleSyntax": true,
|
|
|
|
"noEmit": true,
|
|
|
|
// Best practices
|
|
|
|
"strict": true,
|
|
|
|
"skipLibCheck": true,
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
2024-07-13 14:18:12 +02:00
|
|
|
// Some stricter flags (enabled)
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
|
|
// Additional improvements
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"isolatedModules": true,
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
"types": ["bun-types"]
|
2024-07-12 14:58:58 +02:00
|
|
|
},
|
|
|
|
"include": ["src/**/*"],
|
|
|
|
"exclude": ["node_modules", "dist"]
|
2022-01-22 20:51:29 +01:00
|
|
|
}
|