.rubocop.yml in rspec-side_effects-0.2.0 vs .rubocop.yml in rspec-side_effects-0.3.0
- old
+ new
@@ -1,11 +1,24 @@
-require: rubocop-rspec
+require:
+ - rubocop-performance
+ - rubocop-rake
+ - rubocop-rspec
+AllCops:
+ NewCops: enable
+
+Gemspec/DevelopmentDependencies:
+ EnforcedStyle: gemspec
+
Metrics/MethodLength:
Max: 20
RSpec/EmptyExampleGroup:
Enabled: false
+# Because of the way that blocks are used in RSpecs can end up being long when
+# example groups are nested or many examples are checked.
+# A similar pattern exists in the DSL for gemspec files.
Metrics/BlockLength:
Exclude:
- - spec/**/**
+ - '*.gemspec'
+ - 'spec/**/*'