Closed imandydoan closed 5 months ago
Weird I have a unit test that passes that doesn't reformat this.
$ cat test.liquid
{% for t in (1..settings.terms_conditions_no) %}
{% endfor %}
$ prettier --plugin . --parser=liquid-html test.liquid
{% for t in (1..settings.terms_conditions_no) %}
{% endfor %}
Describe the bug Prettier replace settings to ['settings'] in the range loop,
Unformatted source
Expected output
Actual output
Debugging information