2025-09-13 22:02:27 +01:00
|
|
|
{
|
|
|
|
|
"compilerOptions": {
|
|
|
|
|
// Environment setup & latest features
|
2025-10-18 14:02:20 +00:00
|
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
|
|
|
"target": "ES2020",
|
|
|
|
|
"module": "ESNext",
|
2025-09-13 22:02:27 +01:00
|
|
|
"moduleDetection": "force",
|
|
|
|
|
"jsx": "react-jsx",
|
|
|
|
|
"allowJs": true,
|
|
|
|
|
|
|
|
|
|
// Bundler mode
|
|
|
|
|
"moduleResolution": "bundler",
|
|
|
|
|
"allowImportingTsExtensions": true,
|
|
|
|
|
"verbatimModuleSyntax": true,
|
|
|
|
|
"noEmit": true,
|
2025-10-18 14:02:20 +00:00
|
|
|
"resolveJsonModule": true,
|
|
|
|
|
"isolatedModules": true,
|
2025-09-13 22:02:27 +01:00
|
|
|
|
|
|
|
|
// Best practices
|
|
|
|
|
"strict": true,
|
|
|
|
|
"skipLibCheck": true,
|
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
|
"noUncheckedIndexedAccess": true,
|
|
|
|
|
"noImplicitOverride": true,
|
|
|
|
|
|
|
|
|
|
"baseUrl": ".",
|
|
|
|
|
"paths": {
|
2025-09-16 23:17:01 +00:00
|
|
|
"@/*": ["./src/*"]
|
2025-09-13 22:02:27 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// Some stricter flags (disabled by default)
|
|
|
|
|
"noUnusedLocals": false,
|
|
|
|
|
"noUnusedParameters": false,
|
|
|
|
|
"noPropertyAccessFromIndexSignature": false
|
|
|
|
|
},
|
|
|
|
|
|
2025-10-18 14:02:20 +00:00
|
|
|
"include": ["src"],
|
2025-09-13 22:02:27 +01:00
|
|
|
"exclude": ["dist", "node_modules"]
|
|
|
|
|
}
|