eslint-plugin-import-order-alphabetical
eslint-plugin-import-order-alphabetical copied to clipboard
Sorting unclear in group
I have this:
import A from './A';
import C from '../C';
import B from '../../B';
When sorting with:
"import-order-alphabetical/order": [2, {
"groups": [["builtin", "external"], ["index", "parent", "sibling"]]
}],
I get:
import B from '../../B';
import C from '../C';
import A from './A';
What I expect, it would be to be sorted:
import A from './A';
import B from '../../B';
import C from '../C';
Is there a way to make this plugin do this?