Configurable HTML, Vue, Svelte, Astro, Angular, Jinja, Twig, Nunjucks and Vento formatter with dprint integration.
100
stars
9
forks
source link
[Astro] Multiline method chains in expressions are not indented properly #54
Closed
michaelhthomas closed 1 month ago
In an Astro template, an expression of the form
is incorrectly formatted as
so the method chains are indented at the same level as the variable they act on, instead of having a hanging indent.
Whereas using just the typescript plugin,
is correctly formatted as