Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using without new lines between groups #140

Closed
avin-kavish opened this issue Jul 10, 2023 · 2 comments
Closed

Using without new lines between groups #140

avin-kavish opened this issue Jul 10, 2023 · 2 comments

Comments

@avin-kavish
Copy link

Any way to use this without adding new lines between groups?

@lydell
Copy link
Owner

lydell commented Jul 10, 2023

Duplicate of #134

In that issue we improved the readme to make it easier to find/understand. Do you have any ideas on how to further improve it?

@avin-kavish
Copy link
Author

Yeah, few things.

First I clicked on this hoping to find the config for it there, I didn't realise all the configs were in one file and example code was in separate file. Maybe group the relevant config and code example together in folders?

It's not clear by this sentence, Avoid blank lines between imports by using a single group, that "single group" means to use a single nested array instead of many nested arrays. So I think it should be explained from the beginning.

So something like, config uses a nested array of strings. The outer array groups declarations and separates them by a blank/new line. Inner arrays order declarations within the outer group.

Also you can add a FAQ section with an example.

FAQ

How to remove blank line between groups?

Change config to ....

Read more above.

lydell added a commit that referenced this issue Jul 10, 2023
lydell added a commit that referenced this issue Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants