67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"compilerOptions": {
|
|
"types": ["bun-types"],
|
|
// JavaScript output target version
|
|
"target": "ES2022",
|
|
// Module configuration for different project types
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
|
|
// "lib": ["ESNext"],
|
|
// "target": "ESNext",
|
|
// "module": "Preserve",
|
|
// "moduleDetection": "force",
|
|
"jsx": "react-jsx",
|
|
// "allowJs": true,
|
|
|
|
// Bundler mode
|
|
// "moduleResolution": "bundler",
|
|
// "allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
// "noEmit": true,
|
|
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
|
|
// Type checking
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"noImplicitThis": true,
|
|
"alwaysStrict": true,
|
|
"declarationMap": true,
|
|
|
|
// stuff claude put in
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
|
|
// Module interoperability
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
// Additional features
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"sourceMap": false,
|
|
"declaration": true,
|
|
"disableReferencedProjectLoad": true,
|
|
"disableSourceOfProjectReferenceRedirect": false,
|
|
|
|
// Decorator support for Bun's hybrid implementation
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
|
|
// Paths and output
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@stock-bot/*": ["libs/*/src"],
|
|
}
|
|
},
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|