This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
Fixing the import alias leaves orphaned symbols #6
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
After running with the
-fix
option, the linter rewrites the import paths,But all the symbols that are used from that package are still using the old import path. It's left to the maintainer to update each file that gets it import paths fixed.
This is OK for the CI use case since the goal there is to give automated style feedback to contributors (it's not too onerous for them to fix it by hand). It's a bit more onerous to get the existing codebase up to standard, but that's a one time cost.
So we could rewrite all the symbols, but if it's a lot of extra AST work, it might not be worth the effort.
The text was updated successfully, but these errors were encountered: