Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to specify things to remove #43

Open
Dimava opened this issue Sep 24, 2024 · 1 comment
Open

Option to specify things to remove #43

Dimava opened this issue Sep 24, 2024 · 1 comment

Comments

@Dimava
Copy link
Contributor

Dimava commented Sep 24, 2024

The package can remove:

  • export in export const foo / export function foo
  • export const foo / export function foo
  • foo in function (foo)
  • const foo
  • files

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants