Skip to content

Commit

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

0 comments on commit 3ee24c5

Please sign in to comment.