Closed wassimk closed 1 year ago
Hey @wassimk, this has been fixed in erb-formatter 4.0+ (see related PR), could you try to upgrade?
Thanks for pointing me in the right direction. I had another gem version constraining syntax tree, so it installed an older version. I should have caught that! It's resolved, and wow, the formatting is so beautiful.
I am looking forward to proposing this tool to my team.
I have a relatively new and tiny Rails 7.0.4.2 project running Ruby 3.2.1. I just added the
erb-formatter
to the Gemfile and ran the format command from the README, and I immediately got this. Any ideas?