Open urbantrout opened 4 years ago
It would be nice if this plugin would honor the trailingComma option in prettierrc. This wouldn't mess with git blame when you add a new property to an object.
git blame
Input:
{% set var = { id: 1, name: 'my-var' } %}
Output:
Expected output
{% set var = { id: 1, name: 'my-var', } %}
btw, thanks for this plugin. It really improved since I first started using it!
It would be nice if this plugin would honor the trailingComma option in prettierrc. This wouldn't mess with
git blame
when you add a new property to an object.Input:
Output:
Expected output