-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Option to control threshold of amount of attributes to be put on separate lines #118
Comments
I would also want this to be kept to a minimum But if they are This could be solved via a I would suggest just start with an implementation and also write tests |
Great to hear, and good points! I'll play around with this a bit and see where I end up. So happy to hear about your opinion regarding the core philosophy. I do share that view ;) |
Perhaps as simple as this: |
I more and more thing about that it was a bad idea to introduce options like So we directly should use |
Agreed! I only use those anyway. BTW, I noticed there is no mention of
But those six aren't actually any of the three I mentioned above. |
Yeah I know, I meant the alias equivalents and not the own options |
Request / Idea
It would be nice if there was an option with which I could set a threshold of the amount of attributes that should always be put on separate lines, regardless of wether they fit into
printWidth
chars or not, .e.g.attributesOnNewLineThreshold: 2
Input
Expected Output
Would you consider the addition of such an option? I am happy to work on it. Not sure what it should be called though…
The text was updated successfully, but these errors were encountered: