diff --git a/.rubocop.yml b/.rubocop.yml index 538267b0..2dbf0b8e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -82,8 +82,7 @@ Lint/Void: AllCops: Include: - - Rakefile - - config.ru + - '**/Rakefile' + - '**/config.ru' Exclude: - db/schema.rb - - features/**/* diff --git a/.travis.yml b/.travis.yml index 524d5c72..432dbb1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,4 @@ before_script: - RAILS_ENV=test bundle exec rake db:migrate --trace script: - bundle exec rspec --color --format documentation - - bundle exec rubocop -D + - bundle exec rubocop -Dc .rubocop.yml