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-extra-aliases #5

Closed
mattysweeps opened this issue Sep 14, 2021 · 0 comments · Fixed by #6
Closed

feature request: -no-extra-aliases #5

mattysweeps opened this issue Sep 14, 2021 · 0 comments · Fixed by #6

Comments

@mattysweeps
Copy link
Contributor

Feature request: add a new flag -no-extra-aliases or -allow-list which only permits aliases passed to importas.
This would effectively make importas aliases an allow list for all aliases in the scanned packages.

Projects which use this setting would force developers to add importas aliases to their lint config settings if they would like to alias a package.

mattysweeps added a commit to mattysweeps/importas that referenced this issue Sep 14, 2021
Add new flag -no-extra-aliases which if set will trigger an error
if an alias is not defined within the alias config.
@julz julz closed this as completed in #6 Sep 22, 2021
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

Successfully merging a pull request may close this issue.

1 participant