TIL: Html + ERB = HERB ❤️ (opens in new tab)
Today I was looking to improve the tooling around ERB templates in our project, get a linter at least. I started with erb_lint gem, but soon discovered the HERB project. The docs are a bit cryptic, but it's basically a gem that gives you a powerful linter a-la rubocop. gem "herb" and then bundle exec herb analyze . Check out the many rules available (and you can even write custom ones in JS!)
Read the original article