DEV Community

Discussion on: Mastering Linters : A Code Quality Assurance Comprehensive Guide using Ruby on Rails

Collapse
 
starswan profile image
Stephen Dicks • Edited

In ruby, guard is a nice alternative to git hooks. The checks are run as files are changed so e.g. rubocop can be set to autocorrect every file as you go along. Also pronto is another nice solution to the same issue - it can run all your checks in one go, and has pull request integration so the checks can be done visually, even if a tiny bit later in the flow

Collapse
 
pimp_my_ruby profile image
Pimp My Ruby

Interesting, thanks for the recommendation!