Sort imports by specifier #13725
Closed
JakobJingleheimer
started this conversation in
Feature Request
Replies: 1 comment
-
This will be implemented as part of the formatter. see #13608 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I care more about where a module comes from than the names I'm importing; also, sorting by import item name very likely leads to diff noise from merely adding or removing an item from an existing import (whereas sorting by specifier is unaffected).
There is an eslint plugin that does exactly what I want: https://github.com/stormwarning/eslint-plugin-import-sorting
This request is similar but different to an existing feature request: #7197
If there is willingness from oxlint maintainers, I can ask the original author if he'd be willing to port it; else, I can try to find the time to port it (but my knowledge of rust is rather limited).
Beta Was this translation helpful? Give feedback.
All reactions