30 lines
827 B
JSON
30 lines
827 B
JSON
{
|
|
"compilerOptions": {
|
|
// Enable latest features
|
|
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleDetection": "force",
|
|
"allowJs": true,
|
|
// Bundler mode
|
|
"moduleResolution": "node",
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"strictPropertyInitialization": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
// Some stricter flags (enabled)
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
// Additional improvements
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"useDefineForClassFields": true,
|
|
"rootDir": "./src",
|
|
"outDir": "./dist"
|
|
}
|
|
}
|