From 31c50255e9044fd98b7b0596f1adf89160f617b2 Mon Sep 17 00:00:00 2001 From: James Mason Date: Wed, 4 Apr 2018 10:26:45 -0700 Subject: [PATCH] Include Rails rules in rubocop scans https://github.com/bbatsov/rubocop/blob/master/manual/basic_usage.md#basic-usage --- travis_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/travis_script.sh b/travis_script.sh index 77ca2329..e7b20783 100755 --- a/travis_script.sh +++ b/travis_script.sh @@ -13,14 +13,14 @@ fi case $TEST_SUITE in linters) - bundle exec rubocop -Dc .rubocop.yml + bundle exec rubocop -DRc .rubocop.yml bundle exec haml-lint app/views ;; rspec) bundle exec rspec --color --format documentation ;; *) - bundle exec rubocop -Dc .rubocop.yml + bundle exec rubocop -DRc .rubocop.yml bundle exec haml-lint app/views bundle exec rspec --color --format documentation ;;