Posted on Jun 19
#html #productivity #ruby #tooling
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!) https://herb-tools.dev/linter/rules/
Top comments (0)
Subscribe
Templates let you quickly answer FAQs or store snippets for re-use.
Code of Conduct • Report abuse
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment’s permalink.
Hide child comments as well
For further actions, you may consider blocking this person and/or reporting abuse
답글 남기기