.rubocop.yml in docdata-order-1.0.3 vs .rubocop.yml in docdata-order-2.0.0
- old
+ new
@@ -1,21 +1,28 @@
# Docdata-order RuboCop configuration
+require:
+ - rubocop-performance
+ - rubocop-rake
+ - rubocop-rspec
+
AllCops:
+ NewCops: enable
TargetRubyVersion: 2.4
DisplayCopNames: true
DisplayStyleGuide: true
+ Exclude:
+ - 'tmp/**/*'
+ - 'vendor/**/*'
-# We target 2.4, but still want to support 2.0.
-Gemspec/RequiredRubyVersion:
- Enabled: false
Layout/LineLength:
Enabled: false
+
Metrics/AbcSize:
- Max: 53
+ Max: 58
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
@@ -23,20 +30,25 @@
Enabled: false
Metrics/MethodLength:
Enabled: false
+
+RSpec/DescribedClass:
+ EnforcedStyle: explicit
+
+RSpec/ExampleLength:
+ Max: 41
+
+RSpec/MultipleExpectations:
+ Max: 10
+
+
Style/BlockDelimiters:
Exclude:
- 'spec/**/*.rb'
-Style/ExpandPathArguments:
- Enabled: false
-
Style/GuardClause:
- Enabled: false
-
-Style/SafeNavigation:
Enabled: false
Style/StringLiterals:
Enabled: false