Replies: 1 comment
-
Just realized some one else have already suggested a similar feature here: #645 Sorry I only checked |
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
-
It would be really great to have some rule options for group imports and sort them automatically.
This is the only frustration I have coming from prettier with the prettier-plugin-sort-imports plugin.
That plugin allowed me to set up rules so I could automatically sort all my imports correctly into groups.
in my case my import order was set as follows:
So for example these lines:
Would be sorted as:
when I save the file, and prettier runs. In my case I have
@/
aliased to/src/
which is pretty common in frontend dev.The problems with the current solution are:
I would really appreciate a way to accomplish automated import groups in biome! Everything else about this library is fantastic so far, but it keeps screwing up my imports.
Beta Was this translation helpful? Give feedback.
All reactions