import/order works great until it hits code like:
import/order
import { b, c, a } from 'sth';
It will simply ignore { b, c, a } sorting. I have tried coupling it with sort-import but they are conflicting.
{ b, c, a }
sort-import
So, in the end, I will probably resort to simple-import-sort which does both, grouping and sorting in groups as well as import members.
Thanks for pointing to eslint-plugin-simple-import-sort simple to configure and worked great for me.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
import/order
works great until it hits code like:It will simply ignore
{ b, c, a }
sorting. I have tried coupling it withsort-import
but they are conflicting.So, in the end, I will probably resort to simple-import-sort which does both, grouping and sorting in groups as well as import members.
Thanks for pointing to eslint-plugin-simple-import-sort simple to configure and worked great for me.