A TypeScript Language Service plugin and CLI tool that enables incremental migration to strict mode by allowing per-file opt-out via `//@ts-strict-ignore` comments. Version 2.4.5, stable. Key differentiators: works in IDE via TS plugin (shows strict errors in editor) and also provides a `tsc-strict` CLI for build-time checking — unlike native `strict: true` which forces all files at once. Supports path-based inclusion/exclusion and minimatch patterns. ESM and CJS compatible orchestrated through tsconfig plugins array.
npm install tsc-strictNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation, tsconfig plugin configuration, migration script, and CLI usage for incremental strict mode adoption.
Run `npx update-strict-comments` to add ignore comments to files with errors.
Add `tsc-strict` to your build scripts: `"typecheck": "tsc && tsc-strict"`.
Set `"strict": false` in compilerOptions and configure strict paths in plugin options.
Do not import in code. Configure in tsconfig.json under compilerOptions.plugins.
Add `//@ts-strict-ignore` at the top of the file to opt out of strict checking, or fix the type errors.
Use the CLI: `npx tsc-strict` or add plugin to tsconfig.