Closed mrseanryan closed 5 years ago
[done] @mrseanryan finish this PR (some itests failing).
The itests fail, because when the new cmd line option is missing, the output is incorrect:
/home/sean/src/github/other/ts-unused-exports/example/tsx/src/util.ts: [object Object]
/home/sean/src/github/other/ts-unused-exports/example/tsx/src/comp.tsx:
[x] fix the output of export names
[x] omit paths that have usage count = 0
[x] add itest run with the new cmd line option, so have both tested
Add a command line option to include the location within the file, in the output (#57).
This speeds up finding the unused exports, as the IDE will navigate to the correct line in the file.