RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Running rubocop before git commit

Lately I got annoyed by myself for breaking our Ruby style guide and only noticing after a CI run. Turns out git hooks in combination with pronto are awesome: https://christoph.luppri.ch/articles/2016/11/21/running-rubocop-before-git-commit/

Comments

Great post, thanks for sharing.

My pleasure! :)

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in