Feature: (sort-exports): Allow sorting type
exports after general exports
#273
Labels
enhancement
New feature or request
type
exports after general exports
#273
What rule do you want to change?
sort-exports
Describe the problem
When exporting from a React component, we often prefer exporting non-type exports first, and with the
type
exports at the bottom. e.g:Currently the
type
identifier is essentially ignored, and the rule requests that it is moved above the generalexport
statements if the filename should come before.I propose adding a new option to allow sorting of
export type
exports independently ofexport
, similarly to #114 which allows sorting of named exports bytype
indentifier.Code example
Additional comments
No response
Validations
The text was updated successfully, but these errors were encountered: