From 5c5d798590d8ca25f5fa4f6306d7f521c641905f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 5 Jul 2019 02:59:28 +0200 Subject: [PATCH] Don't use `Include` in rubocop configuration file The Rakefile and config.ru files are now included by default, and the behaviour of `Include` changed in Rubocop 0.56.0 (see rubocop's pull request 5882) so now it **only** includes the files defined there, while in the past it included those files in addition to the default files. --- .rubocop_basic.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.rubocop_basic.yml b/.rubocop_basic.yml index bfeedbc27..44beb5256 100644 --- a/.rubocop_basic.yml +++ b/.rubocop_basic.yml @@ -3,9 +3,6 @@ require: rubocop-rspec AllCops: DisplayCopNames: true DisplayStyleGuide: true - Include: - - "**/Rakefile" - - "**/config.ru" Exclude: - "db/migrate/**/*" - "db/schema.rb"