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

Remove unused imports/class methods/variables #59

Open
chandan192 opened this issue Nov 18, 2022 · 2 comments
Open

Remove unused imports/class methods/variables #59

chandan192 opened this issue Nov 18, 2022 · 2 comments

Comments

@chandan192
Copy link

Hi @lgrammel ,
This not an issue but a suggestion if we could have support to remove unused imports or unused class variables/methods. We already have support/linting to remove local unused variable.

In typescript we often have to deal with such cases. It will be very much helpful.

image
image

@lgrammel
Copy link
Contributor

Thanks, this is a good suggestion!

@chandan192
Copy link
Author

chandan192 commented Nov 19, 2022

@lgrammel ,
Adding one more case
Remove the unused function parameter "index" or rename it to "_index" to make intention explicit ,
image

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