Files
opencode-manager/backend/tsconfig.json
Chris Scott 052b501963 fix(backend): exclude dist from the type check (OM-179)
With allowJs enabled and no exclude list, tsc --noEmit included backend/dist/index.js after a build, which crashed the checker with a stack overflow. CI type-checks before building, so the exclusion keeps local runs consistent with CI.
2026-11-05 16:32:43 -05:00

31 lines
736 B
JSON

{
"compilerOptions": {
// Environment setup & latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "Preserve",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"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
},
"exclude": ["dist"]
}