plantain-00 / type-coverage

A CLI tool to check type coverage for typescript code
MIT License
1.26k stars 44 forks source link

Feature request: ignore certain files #23

Closed danvk closed 5 years ago

danvk commented 5 years ago

I have some files in my project which are just demos / development aids and I'm less worried about any types in them. I can add them to the exclude section of my tsconfig.json to exclude them from type-coverage, but this will also disable type checking in them.

What would you think of an --ignore-files option, or a @type-coverage-ignore-file directive?

Great tool, btw!

plantain-00 commented 5 years ago

v1.14.0 support --ignore-files now

danvk commented 5 years ago

Beautiful! Thanks for the speedy turnaround.