38 lines
901 B
JSON
38 lines
901 B
JSON
{
|
|
"compilerOptions": {
|
|
// Enable latest features
|
|
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
|
"target": "ESNext",
|
|
"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
|
|
"useDefineForClassFields": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
"incremental": true
|
|
},
|
|
"include": ["./src/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|