pzavolinsky / ts-unused-exports

ts-unused-exports finds unused exported symbols in your Typescript project
MIT License
749 stars 49 forks source link

Hide '0 modules with unused exports' message #163

Closed thewilkybarkid closed 4 years ago

thewilkybarkid commented 4 years ago

Currently a successful run outputs a '0 modules with unused exports'; similar tools like ESLint, Stylelint and TypeScript don't output anything if this happens.

mrseanryan commented 4 years ago

@pzavolinsky should this be an option do you think?

Some users may already rely on this "0 issues output"

pzavolinsky commented 4 years ago

Agreed, something like silent or quiet

thewilkybarkid commented 4 years ago

Happy to add an option, but if #161 triggers a new major version might not be needed?

mrseanryan commented 4 years ago

@thewilkybarkid can you please add an option --silent - for an example see exitWithCount.

Then need to mention that in the README, and also in the CHANGELOG.

thanks! Sean

thewilkybarkid commented 4 years ago

@mrseanryan Hopefully all sorted now!

mrseanryan commented 4 years ago

closing - replaced with #168

thanks for contributing!