2022-01-22 20:41:25 +01:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
2024-07-13 14:18:12 +02:00
|
|
|
// Enable latest features
|
|
|
|
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
2022-01-22 20:41:25 +01:00
|
|
|
"target": "ESNext",
|
2024-07-13 14:18:12 +02:00
|
|
|
"module": "ESNext",
|
|
|
|
"jsx": "react-jsx",
|
|
|
|
"allowJs": true,
|
|
|
|
|
|
|
|
// Bundler mode
|
|
|
|
"moduleResolution": "Node",
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
|
|
|
|
// Best practices
|
|
|
|
"strict": true,
|
|
|
|
"skipLibCheck": true,
|
|
|
|
"noEmit": true,
|
|
|
|
|
|
|
|
// Some stricter flags (enabled)
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
|
|
|
|
|
|
// Additional improvements
|
2022-01-22 20:41:25 +01:00
|
|
|
"useDefineForClassFields": true,
|
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"isolatedModules": true,
|
2024-07-13 14:18:12 +02:00
|
|
|
"baseUrl": ".",
|
|
|
|
"paths": {
|
|
|
|
"@/*": ["./src/*"]
|
|
|
|
},
|
|
|
|
"incremental": true
|
2022-01-22 20:41:25 +01:00
|
|
|
},
|
2024-07-13 14:18:12 +02:00
|
|
|
"include": ["./src/**/*"],
|
|
|
|
"exclude": ["node_modules", "dist"]
|
2022-01-22 20:41:25 +01:00
|
|
|
}
|