pzavolinsky / ts-unused-exports

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

bug: file name containing 'index.' is not ignored by ignoreFile regexes #222

Closed wongjiahau closed 1 year ago

wongjiahau commented 2 years ago

I have a file whose name contains index., for example, hello-index.pgtyped.ts.

This file is supposed to contain unused export, so I tried to ignore it using --ignoreFiles=pgtyped and I expect it to be ignored.

However, this does not work as expected.