Skip to content

importOrderSeparation #117

@SalahAdDin

Description

@SalahAdDin

Is your feature request related to a problem?
In the original library, it was easy to get blank lines between import groups, but in this one, you have to add blank lines to the import groups array which is unesthetic and less intuitive.

Describe the solution you'd like
The Trivago library does include a setting that adds blank lines between import groups by default, and it makes easier and more intuitive the configuration.

importOrderSeparation
type: boolean
default value: false
A boolean value to enable or disable the new line separation between sorted import declarations group. The separation takes place according to the importOrder.
"importOrderSeparation": true,

It would be nice to have this setting back to this new library.

Describe alternatives you've considered
I'm thinking of coming back to the old library since the blank lines setting is very useful and from all features introduced by this library, I don't use anyone.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions