.rubocop.yml in alba-0.13.1 vs .rubocop.yml in alba-1.0.0
- old
+ new
@@ -13,10 +13,11 @@
- 'Rakefile'
- 'alba.gemspec'
- 'benchmark/**/*.rb'
NewCops: enable
EnabledByDefault: true
+ TargetRubyVersion: 2.5
# Oneline comment is not valid so until it gets valid, we disable it
Bundler/GemComment:
Enabled: false
@@ -33,9 +34,14 @@
Exclude:
- 'test/alba_test.rb'
Metrics/MethodLength:
Max: 15
+
+# Resource class includes DSLs, which tend to accept long list of parameters
+Metrics/ParameterLists:
+ Exclude:
+ - 'lib/alba/resource.rb'
Style/ConstantVisibility:
Exclude:
- 'lib/alba/version.rb'