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

Add rule for detecting if a dependency is explicitly installed #236

Open
fvictorio opened this issue Jul 13, 2020 · 0 comments
Open

Add rule for detecting if a dependency is explicitly installed #236

fvictorio opened this issue Jul 13, 2020 · 0 comments
Labels

Comments

@fvictorio
Copy link
Contributor

Similar to node/no-extraneous-require.

For example, if a contract does import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; but @openzeppelin/contracts is not installed, an error should be emitted.

I'm not sure if this should be a core rule or a plugin. If there are other possible rules related to dependencies, maybe it would make more sense to make a plugin (but I can't think of some other right now).

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

No branches or pull requests

2 participants