julz / importas

linter to enforce consistent import aliases
Apache License 2.0
14 stars 13 forks source link

feature request: -no-extra-aliases #5

Closed mattysweeps closed 3 years ago

mattysweeps commented 3 years ago

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.