Add rubocop run script

This commit is contained in:
Petr Korolev 2015-05-18 15:51:50 +03:00
parent 7c9edcfedb
commit 659ef2fef5

View File

@ -16,9 +16,10 @@
# Uncomment the following lines to make the configuration take effect. # Uncomment the following lines to make the configuration take effect.
PreCommit: PreCommit:
Rubocop: RuboCop:
enabled: true enabled: true
# on_warn: fail # Treat all warnings as failures #command: ['bundle', 'exec', 'rubocop']
on_warn: fail # Treat all warnings as failures
# #
# TrailingWhitespace: # TrailingWhitespace:
# exclude: # exclude: