From 659ef2fef5f1d6ec90c81ea4dd41cb1b67082066 Mon Sep 17 00:00:00 2001 From: Petr Korolev Date: Mon, 18 May 2015 15:51:50 +0300 Subject: [PATCH] Add rubocop run script --- .overcommit.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.overcommit.yml b/.overcommit.yml index 5dd1e24..2e2bd2c 100644 --- a/.overcommit.yml +++ b/.overcommit.yml @@ -16,9 +16,10 @@ # Uncomment the following lines to make the configuration take effect. PreCommit: - Rubocop: + RuboCop: enabled: true -# on_warn: fail # Treat all warnings as failures + #command: ['bundle', 'exec', 'rubocop'] + on_warn: fail # Treat all warnings as failures # # TrailingWhitespace: # exclude: