While providing an option to the user to configure grouping (this is a separate ticket), we also want to create a sensible default opinion on grouping, i.e.:
if there are more than x number of imports in a group (x=5, by default), split them to a new separate group
Grouping by hierarchy level. Meaning that when we have backwards imports that are going two and ten directories back, we should group them separately.
While providing an option to the user to configure grouping (this is a separate ticket), we also want to create a sensible default opinion on grouping, i.e.:
x
number of imports in a group (x=5
, by default), split them to a new separate groupbackwards
imports that are going two and ten directories back, we should group them separately.