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

Rule: confusing-alias #666

Open
anderseknert opened this issue Apr 20, 2024 · 0 comments
Open

Rule: confusing-alias #666

anderseknert opened this issue Apr 20, 2024 · 0 comments

Comments

@anderseknert
Copy link
Member

package policy

import data.foo
import data.foo as bar

Using an alias for a symbol that's already imported without an alias is confusing, as the same thing is now imported under two different names. Uncommon for sure, but wrong nonetheless and we should flag it.

This is a good issue to start with for anyone keen to contribute to Regal. If that's you, join the #regal channel in the Styra community Slack and we'll be happy to guide you through the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: TODO
Development

No branches or pull requests

1 participant