import/order
does not respect consecutive pathGroups
when 9 or 10 groups are defined
#2494
Labels
import/order
does not respect consecutive pathGroups
when 9 or 10 groups are defined
#2494
Import types can be assigned the same
rank
when using 1 or moreafter
patterns
and 9-10before
patterns
on consecutive import types.Repro
Given the following config
The above config will result in the following file. With the 9
before
patterns
,a
gets grouped with the@namespace
imports. This doesn't happen with 8 or 11before
patterns
.The expected output with 9
before
patterns
should be :Similarly, with the 10
before
patterns
,a
gets grouped with theexternal
imports. This doesn't happen with 8 or 11before
patterns
.I also tried logging the generated rankings from
computeRank
for each amount ofbefore
patterns
.8 pathGroups
9 pathGroups
10 pathGroups
11 pathGroups
I had a lot of trouble coming up with a generalized description for this since its a very specific issue.
The text was updated successfully, but these errors were encountered: