Просмотр исходного кода

Maintenance: Invoke rubocop within bundler context.

Tobias Schäfer 11 месяцев назад
Родитель
Сommit
b8fd2ad273
1 измененных файлов с 1 добавлено и 0 удалено
  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'