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.
This commit is contained in:
Javi Martín
2019-07-05 02:59:28 +02:00
parent 48b128744c
commit 5c5d798590

View File

@@ -3,9 +3,6 @@ require: rubocop-rspec
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
Include:
- "**/Rakefile"
- "**/config.ru"
Exclude:
- "db/migrate/**/*"
- "db/schema.rb"