-
Notifications
You must be signed in to change notification settings - Fork 21
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
Put ">" on newline when wrapping multiple attributes #19
Comments
Fixed with #20 |
@StarpTech can we have an option to enable/disable this? |
Hi @nivv could you eloborate why? I don't add an option so easily the formatter follows the same philosophy about options as prettier |
@StarpTech I see, I wasn't aware. Languages differ in their style guides. This is awesome for Vue, but if I want to use this for another language the format is "wrong". No worries though! |
@nivv yes, the experiment of this project is to align them all together. There aren't "wrong" formatting here. There are styles and a lot of opinions 😄 I'm trying to be productive and prettyhtml helps a lot to be in teams. |
For multiple attributes that extend beyond the printWidth, I would prefer this:
over
The text was updated successfully, but these errors were encountered: