prettier-plugin-twig-melody
prettier-plugin-twig-melody copied to clipboard
Formatting macro with default arguments throws error
i get ERROR: Expected comma or ")"
when attempting to format a macro with default parameter values such as
{% macro name(name = 'John') %}
<h1>{{ name }}</h1>
{% endmacro %}
It's followed by The argument list of a macro can only consist of parameter names separated by commas.
Is this a mistake? Default arguments are valid after all.
Same error here. Is there any way to ignore it?