You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However the plugin ignores my single blank line formatting and removes some of them. And although it's compact, it's not "pretty". I don't see why there the blank after the if statement is kept while others are removed.
I like to keep my html-code separated from twig-code with blank lines.
However the plugin ignores my single blank line formatting and removes some of them. And although it's compact, it's not "pretty". I don't see why there the blank after the
if
statement is kept while others are removed.I think this is wrong, as the official prettier docs state that prettier collapses multiple blank lines into one, but single empty lines are allowed.
Now I understand changing this might impact other codebases heavily, so I'd like to see a
twigAllowSingleEmptyLines
option or something like that.The text was updated successfully, but these errors were encountered: