Files
lifeforge/tsconfig.json
2026-06-25 08:54:12 +08:00

34 lines
978 B
JSON

{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
// Path resolution
"paths": {
"@server/*": ["./server/src/*"],
"@client/*": ["./client/src/*"],
"@shared/*": ["./shared/src/*"],
"@ui/*": ["./packages/ui/src/*"]
},
// Module resolution
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"verbatimModuleSyntax": true,
// Strictness and best practices
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"experimentalDecorators": true,
// Output control
"skipLibCheck": true,
// Optional strict flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
}