# Lefthook configuration. For more information, see: # https://github.com/Arkweid/lefthook/blob/master/docs/full_guide.md pre-push: commands: # Run all tests (warn if there are any missing tools required for tests). rspec: run: bundle exec rspec -f progress glob: '*.rb' # Run ruby linting rubocop: run: bundle exec rubocop glob: '*.rb'