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.
This commit is contained in:
Maurice
2026-10-10 12:19:43 +02:00
parent 1ea435d730
commit b1da50466d
10 changed files with 413 additions and 1 deletions
+1
View File
@@ -18,6 +18,7 @@
"lint:size": "node scripts/size-lint.mjs",
"lint:warnings": "node scripts/eslint-ratchet.mjs",
"lint:format": "node scripts/format-lint.mjs",
"lint:strict": "node scripts/strict-lint.mjs",
"lint:boundaries": "node scripts/import-boundaries.mjs",
"lint:dialect": "node scripts/dialect-lint.mjs",
"lint:tx": "node scripts/tx-writes.mjs",