-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
📎 Integrate lint/useGroupedTypeImport
in organizeImports
#551
Comments
I'm not sure this should be part of the import sorting. Is there a good reason for doing that? Are there other tools that do that? If so how? Cargo for example doesn't join imports. |
Actually, you are the one who proposed it 😅
Factorizing type modifier? Not sure I have to check.
Do you mean merging distinct import statements? This is not the point of this issue. However, I think it is a good thing of merging imports because typescript is doing that. |
Past
No, I wondered why they don't do that since rust is a side-effect-free language so that they can merge imports without possible repercussions. Simply that. |
Can I look into this one? Edit: have seen that this is extending the existing rule. Looks fairly complex already but will have a look, maybe best not to assign until I'm sure I'm able to help here 🙂 Edit2: yep not sure I can handle this one! I'll throw my hat into the ring elsewhere. |
Closing in favor of #3015 |
Description
useGroupedTypeImport allows factorizing type imports:
This behavior should be integrated into
organize-imports
action.The text was updated successfully, but these errors were encountered: