Browse Source

Maintenance: Invoke rubocop within bundler context.

Tobias Schäfer 11 months ago
parent
commit
b8fd2ad273
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .overcommit.yml

+ 1 - 0
.overcommit.yml

@@ -13,6 +13,7 @@ PreCommit:
   RuboCop:
     enabled: true
     on_warn: fail
+    command: ['bundle', 'exec', 'rubocop']
   CoffeeLint:
     required_executable: 'coffeelint'
     install_command: 'npm install -g @coffeelint/cli'