prettier-plugin-twig-melody icon indicating copy to clipboard operation
prettier-plugin-twig-melody copied to clipboard

Way to make dot in html attribute valid ?

Open jphilung opened this issue 2 years ago • 8 comments

I am using alpine.js (https://alpinejs.dev/directives/on) which uses a dot modifier on some html attribute. This causes the prettier parser to fail because it's not a valid character.

Expected a valid attribute name, but instead found ".", which is not part of a valid attribute name.

jphilung avatar Feb 05 '22 04:02 jphilung