.rubocop.yml in rubocop-rake-0.5.1 vs .rubocop.yml in rubocop-rake-0.6.0
- old
+ new
@@ -1,14 +1,18 @@
inherit_from: .rubocop_todo.yml
require:
+ - rubocop/cop/internal_affairs
- rubocop-rake
- rubocop-rspec
AllCops:
- TargetRubyVersion: 2.4
+ TargetRubyVersion: 2.5
+InternalAffairs/NodeMatcherDirective:
+ Enabled: false
+
Layout/LineLength:
Enabled: false
Metrics:
Enabled: false
@@ -43,5 +47,10 @@
Enabled: false
Naming/FileName:
Exclude:
- 'lib/rubocop-rake.rb'
+
+# This disabling is a workaround for https://github.com/rubocop-hq/rubocop-rspec/issues/1068.
+# The cop has been disabled because FactoryBot is not used in this repository.
+RSpec/FactoryBot/CreateList:
+ Enabled: false