cursor-init/tsconfig.json

41 lines
1.2 KiB
JSON

{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "Node",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false,
// Paths
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"outDir": "dist",
"rootDir": "src",
"paths": {
"@/*": ["src/*"],
"@package.json": ["package.json"]
},
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true
},
"include": ["src", "types/**/*.d.ts", "drizzle.config.ts"],
"exclude": ["node_modules", "dist"]
}