ts-inquisition
v0.1.0
Published
expect all type errors, except spanish inquisition. Nobody expects spanish inqusition.
Downloads
27
Maintainers
Readme
ts-inquisition
expect all the type errors. A simple CLI util to mark all your current TS errors as expected. Useful when
- you wan to start failing your builds on a new type error while keeping the old ones as is.
- you are converting JS project into TS. With ts-inquisition you can basically do a project of any size in like 10 minutes if you are ok with having the current TS errors silenced.
Supports ts
and tsx
files.
Usage
Warning Note that it is only tested on code bases formatted with prettier. It won't work correctly on code bases with any other formatting.
npx ts-inquisition "src/**"
Errors that will not be expected
- import statement errors. You really should fix those, does not make much sense to silence them.
- spanish inquisition. Nobody expects spanish inquisition.
all other TS errors will be expected and silenced.
Why is it called ts-inquisition
It's a reference to https://www.youtube.com/watch?v=Cj8n4MfhjUc