You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we can simply "fix" the end-users' issue by running unimport twice should we maybe simply run it twice? Maybe with something like --fix-star-collisions. Sometimes the best solution is the easiest solution.
Unimport works fine when it comes to finding the correct import module for the variables, but this doesn't help when it comes to clashing names.
The problem can be avoided by running unimport twice with the -r flag, allowing it to turn the above into
and then running again to remove the first unused import, but I think it should be able to do it in a single run without needing to run in twice.
The text was updated successfully, but these errors were encountered: