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

Feature Request: no-unused-imports #260

Closed
gitpusha opened this issue Oct 20, 2020 · 5 comments
Closed

Feature Request: no-unused-imports #260

gitpusha opened this issue Oct 20, 2020 · 5 comments

Comments

@gitpusha
Copy link

A rule for warning/error about any unused imports.

@PaulRBerg
Copy link
Contributor

This would be super useful, especially when importing specific symbols like this:

import {symbol1 as alias, symbol2} from "filename";

@PaulRBerg
Copy link
Contributor

Thanks to @juanpcapurro, there is now a fork of Solhint with a no-unused-imports rule!

https://github.com/solhint-community/solhint-community

@dbale-altoros
Copy link
Collaborator

This it is also added in this pr
#417

Will be available in next version

@PaulRBerg
Copy link
Contributor

@dbale-altoros is no-unused-imports now available in v3.6.2?

@dbale-altoros
Copy link
Collaborator

@PaulRBerg it is

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

3 participants