Skip to content

Commit

Permalink
add rubocop binstub, update quickhook
Browse files Browse the repository at this point in the history
  • Loading branch information
matthutchinson committed Dec 28, 2024
1 parent 1d59687 commit 4a1377d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .quickhook/pre-commit/ruby-lint
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/sh
grep '\.rb$\|Gemfile|Rakefile' | xargs bundle exec rubocop --config .rubocop.yml --force-exclusion
set -e
grep '\.rb$\|Gemfile\|Rakefile' | xargs bin/rubocop --config .rubocop.yml --force-exclusion

0 comments on commit 4a1377d

Please sign in to comment.