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
Then this group gets sorted alphabetically, and obviously turns into [ 'react-router-dom-value', 'react-value' ]. While normally, 'react' < 'react-router-dom' === true.
So after updating to 2.23 I suddenly have warnings about wrong imports order all over the project .
Probably, you may just use | instead of - to separate importKind from importName?
The text was updated successfully, but these errors were encountered:
This and this changes cause the following weird effect.
With imports like this:
func
mutateRanksToAlphabetize
produces following groups:Then this group gets sorted alphabetically, and obviously turns into
[ 'react-router-dom-value', 'react-value' ]
. While normally,'react' < 'react-router-dom' === true
.So after updating to 2.23 I suddenly have warnings about wrong imports order all over the project .
Probably, you may just use
|
instead of-
to separate importKind from importName?The text was updated successfully, but these errors were encountered: