Closed renato-bohler closed 2 months ago
Unsure how https://github.com/azat-io/eslint-plugin-perfectionist/pull/113 would impact this, but I'd be happy to refactor the implementation if we think the idea is good.
LGTM. Good idea.
Could you fix ESLint issues? It may also be worth adding information about it to the sorting-named-imports.md.
Will do later this week!
Done!
Description
This PR adds the
group-kind
option tosort-named-imports
andsort-named-exports
rules, solving https://github.com/azat-io/eslint-plugin-perfectionist/issues/114This allows users to group inline named type imports before or after value named imports.
Additional context
This option has three possible values:
mixed
,values-first
, andtypes-first
.What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).