.rubocop.yml in alba-2.1.0 vs .rubocop.yml in alba-2.2.0

- old
+ new

@@ -14,11 +14,11 @@ - 'alba.gemspec' - 'benchmark/**/*.rb' - 'script/**/*.rb' NewCops: enable EnabledByDefault: true - TargetRubyVersion: 2.6 + TargetRubyVersion: 2.7 # Items in Gemfile is dev dependencies and we don't have to specify versions. Bundler/GemVersion: Enabled: false @@ -55,9 +55,14 @@ # Resource class includes DSLs, which tend to accept long list of parameters Metrics/ParameterLists: Max: 7 Exclude: - 'test/**/*.rb' + +# Putting extra empty line is not valuable in test +# We prefer shorter test code +Minitest/EmptyLineBeforeAssertionMethods: + Enabled: false # We need to eval resource code to test errors on resource classes Security/Eval: Exclude: - 'test/**/*.rb'