You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have attached a working implementation of a custom eslint rule (rule's written in esnext style), the code currently sorts in reverse order, it'll be great if you can add settings like sortOrder, type etc to the code and release it under a new rule. Thanks.
Describe the rule
Dynamic imports are the future, this rule allow to sort imports like these:
To this:
Using the import's path.
I have attached a working implementation of a custom eslint rule (rule's written in esnext style), the code currently sorts in reverse order, it'll be great if you can add settings like
sortOrder
,type
etc to the code and release it under a new rule. Thanks.Code example
Additional comments
No response
Validations
The text was updated successfully, but these errors were encountered: