diff --git a/examples/pre-commit.rubocop b/examples/pre-commit.rubocop new file mode 100755 index 0000000..c5ffa7a --- /dev/null +++ b/examples/pre-commit.rubocop @@ -0,0 +1,2 @@ +#!/bin/sh +bundle exec git-format-staged -f "bundle exec rubocop -x -s {} --stderr" "*.rb" --verbose \ No newline at end of file