.rubocop.yml in safe_pusher-0.2.2 vs .rubocop.yml in safe_pusher-0.3.0
- old
+ new
@@ -61,14 +61,15 @@
Enabled: false
# Do not verify the length of the blocks in DSLs.
Metrics/BlockLength:
Exclude:
- - "**/*/spec/**/*"
+ - spec/**/*
- lib/tasks/**/*
- app/admin/**/*
- config/routes.rb
+ - safe_pusher.gemspec
ExcludedMethods:
- included
# Allow any number of keyword arguments in methods.
Metrics/ParameterLists:
@@ -134,29 +135,5 @@
EnforcedStyle: template
# Prefer `->` to `lambda`.
Style/Lambda:
EnforcedStyle: literal
-
-# Deactivate rule that makes `lambda` mandatory in defavor of `->`
-# when having blocks.
-Style/Lambda:
- Enabled: false
-
-# Do not verify empty lines around blocks in specs
-Layout/EmptyLinesAroundBlockBody:
- Exclude:
- - spec/**/*
-
-# Allow using normal test doubles, since they are useful for mocking.
-# See https://github.com/KissKissBankBank/fashion_police/pull/34
-RSpec/VerifiedDoubles:
- Enabled: false
-
-# Enable long blocs for Gemspec files
-Metrics/BlockLength:
- Exclude:
- - safe_pusher.gemspec
-
-Metrics/BlockLength:
- Exclude:
- - spec/**/*