Closed andershagbard closed 1 year ago
When writing longer case statements, it would be good for readability and overview, if there was a space between the when statements like this:
when
My ideal formatting:
{% case foo %} {% when bar %} <div>Something</div> {% when baz %} <div>Something else</div> {% endcase %}
Current formatting:
A solution could be to force 1 or less line breaks. Just like Prettier does with JavaScript.
Thanks for reporting. Fixed in v1.0.0-rc.2 :)
When writing longer case statements, it would be good for readability and overview, if there was a space between the
when
statements like this:My ideal formatting:
Current formatting:
A solution could be to force 1 or less line breaks. Just like Prettier does with JavaScript.