Prettier: Remove additional spaces before self-closing tag />

Viewed 424

We want to enforce removal of any additional spaces /> before self-closing tags in our HTML using prettier. Judging by the options, we can't find any relevant options to disable this behaviour.

Live example.

How can we enforce no additional spaces before self-closing tags: /> using prettier?

0 Answers
Related