.rubocop.yml in alba-1.0.0 vs .rubocop.yml in alba-1.0.1
- old
+ new
@@ -40,10 +40,15 @@
# Resource class includes DSLs, which tend to accept long list of parameters
Metrics/ParameterLists:
Exclude:
- 'lib/alba/resource.rb'
+# We need to eval resource code to test errors on resource classes
+Security/Eval:
+ Exclude:
+ - 'test/**/*.rb'
+
Style/ConstantVisibility:
Exclude:
- 'lib/alba/version.rb'
Style/Copyright:
@@ -59,5 +64,9 @@
Style/InlineComment:
Enabled: false
Style/MethodCallWithArgsParentheses:
Enabled: false
+
+# There are so many cases we just want `if` expression!
+Style/MissingElse:
+ EnforcedStyle: case