Typescript Strictness Migration

Turn on TypeScript strict mode, or stricter flags, in a codebase that does not pass it, without a flag day. Enable one flag per branch and size it with tsc --noEmit error counts, ratchet the large strictNullChecks step per directory with a second tsconfig that lists only passing paths, forbid @ts-ignore in favour of @ts-expect-error with a reason, and fix input boundaries first by parsing JSON, env and network data with a schema validator. Typed lint rules come after the flag lands; the count of any and assertions is the health metric. Use whenever "enable strictNullChecks", "we have 2,000 errors when we set strict true", "stop any from spreading", "noUncheckedIndexedAccess", or "ban ts-ignore". Not for the Python equivalent (python-typing-migration), behaviour-preserving restructuring (refactoring), or judging a diff (code-review).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 16d2a53adf

Frequently asked questions

npx get-skill add greenblacked/typescript-strictness-migration