Description
The brackets and the included digit of indexed arrays are replaced by a dot after formatting.
When using nested arrays it ends up with multiple dots.
I use version 0.2.5 in combination with prettier 2.8.8.
Expected behavior
Code will not be replaced!
To Reproduce
Original Source Code:
{% set slug = row.values[6] %}
{% set title = main_post[0][5] %}
Formatted Source Code:
{% set slug = row.values. %}
{% set title = main_post.. %}
Checklist
Description
The brackets and the included digit of indexed arrays are replaced by a dot after formatting.
When using nested arrays it ends up with multiple dots.
I use version 0.2.5 in combination with prettier 2.8.8.
Expected behavior
Code will not be replaced!
To Reproduce
Original Source Code:
Formatted Source Code:
Checklist