.rubocop.yml in alba-1.6.0 vs .rubocop.yml in alba-2.0.0

- old
+ new

@@ -14,11 +14,11 @@ - 'alba.gemspec' - 'benchmark/**/*.rb' - 'script/**/*.rb' NewCops: enable EnabledByDefault: true - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.6 # Items in Gemfile is dev dependencies and we don't have to specify versions. Bundler/GemVersion: Enabled: false @@ -52,10 +52,11 @@ - 'lib/alba/resource.rb' - 'lib/alba.rb' # Resource class includes DSLs, which tend to accept long list of parameters Metrics/ParameterLists: + Max: 7 Exclude: - 'test/**/*.rb' # We need to eval resource code to test errors on resource classes Security/Eval: @@ -63,9 +64,10 @@ - 'test/**/*.rb' Style/ConstantVisibility: Exclude: - 'lib/alba/version.rb' + - 'test/**/*.rb' Style/Copyright: Enabled: false # I know what I do :)