line / ts-remove-unused

Remove unused code from your TypeScript project
Apache License 2.0
919 stars 10 forks source link

Option to specify things to remove #43

Open Dimava opened 1 week ago

Dimava commented 1 week ago

The package can remove:

I would like to limit it to a subset or removed things (personally I don't really want to remove unused constants, arguments, and export clauses that are still used in the file) (i.e. I only want to remove completely unused export function/export const and files) For arguments and constants there already are eslint rules, so if I have any left they are probably intentionally excluded

kazushisan commented 1 week ago

Thanks! I’d say it’s not a high priority issue at this moment, but the possible solutions could be discussed!