sort-imports: Inconsistent behaviour with named imports #14570
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
works as intended
The behavior described in this issue is working correctly
Projects
What rule do you want to change?
sort-imports
Does this change cause the rule to produce more or fewer warnings?
This change will produce less warnings, when modifying existing code.
How will the change be implemented? (New option, new default behavior, etc.)?
Default behaviour should be changed.
Please provide some example code that this change will affect:
This is
code 1
This is
code 2
What does the rule currently do for this code?
code 1
is considered correct by eslint.code 2
raises errorImports should be sorted alphabetically sort-imports
What will the rule do after it's changed?
Rule should either treat
single named import
asmultiple
, or it should change naming todefault
andnamed
import groups to avoid confusion.Are you willing to submit a pull request to implement this change?
No.
The text was updated successfully, but these errors were encountered: