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
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
Interesting, thanks for the recommendation!