pzavolinsky / ts-unused-exports

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

Feature/disable paths from cmd line #38

Closed mrseanryan closed 5 years ago

mrseanryan commented 5 years ago

Adds a command line option, to ignore results for given paths.

The intention is to be able to filter out results from certain files or directories, without having to add a lot of ts-unused-exports:disable type comments.

This is required for a large project, where there are multiple teams working on the same codebase.

Usage, showing the additional optional argument: --ignorePaths:

ts-unused-exports:disable --ignorePaths=index.ts

mrseanryan commented 5 years ago

closing - incorrect commits!