Add the rubocop.rb pre-commit hook.