Files
TREK/server/tsconfig.strict.json
T
Maurice b1da50466d ci(server): strict type errors per file may only shrink
tsconfig.strict.json is the build config with strictNullChecks and
noImplicitAny on. lint:strict runs tsc over it and holds the errors per file
to scripts/strict-baseline.json (204 in 109 files today): a file may only
lose errors, a new file starts at none, and an entry above its count fails
until --update lowers it. An error outside any file or an unreadable tsc run
fails closed. It runs in the server job; the build itself stays on
strict: false.
2026-10-10 20:15:55 +02:00

14 lines
463 B
JSON

{
// The strict ratchet (npm run lint:strict, scripts/strict-lint.mjs): the
// build config with strictNullChecks and noImplicitAny switched on. Nothing
// compiles with it; the script counts its errors per file against
// scripts/strict-baseline.json, so a file may only lose them and a new file
// starts at none.
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true,
"strictNullChecks": true,
"noImplicitAny": true
}
}