I've been trying to figure out how to get prettier to format my .html.erb files. It seems like https://github.com/adamzapasnik/prettier-plugin-erb is a dead project. But this project you've been working on may be the best way to go.
I have a branch of prettier-plugin-ruby that adds this gem and it's working great. (I also have eyes on this issue which I think would be a great step toward ultimately getting this included as part of the plugin for ruby)
This fix came from trying to use this gem to format my .html.erb files. I was running into syntax errors for void elements that were not explicitly self-closing.
Hello!
I've been trying to figure out how to get
prettier
to format my.html.erb
files. It seems like https://github.com/adamzapasnik/prettier-plugin-erb is a dead project. But this project you've been working on may be the best way to go.I have a branch of
prettier-plugin-ruby
that adds this gem and it's working great. (I also have eyes on this issue which I think would be a great step toward ultimately getting this included as part of the plugin for ruby)This fix came from trying to use this gem to format my
.html.erb
files. I was running into syntax errors for void elements that were not explicitly self-closing.Thanks!