mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 21:46:49 +00:00
b1da50466d
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.
14 lines
463 B
JSON
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
|
|
}
|
|
}
|