config/ruby.yml in caliber-0.18.0 vs config/ruby.yml in caliber-0.19.0
- old
+ new
@@ -1,6 +1,7 @@
AllCops:
+ ActiveSupportExtensionsEnabled: true
DisplayCopNames: true
Exclude:
- "db/schema.rb"
- "node_modules/**/*"
- "tmp/**/*"
@@ -195,10 +196,12 @@
Enabled: true
Style/ArgumentsForwarding:
Enabled: false
Style/ArrayCoercion:
Enabled: true
+Style/ArrayIntersect:
+ Enabled: true
Style/AndOr:
EnforcedStyle: conditionals
Style/AutoResourceCleanup:
Enabled: true
Style/ClassMethodsDefinitions:
@@ -302,19 +305,23 @@
"%r": "()"
Style/QuotedSymbols:
Enabled: true
Style/RedundantArgument:
Enabled: true
+Style/RedundantConstantBase:
+ Enabled: true
Style/RedundantEach:
Enabled: true
Style/RedundantSelfAssignmentBranch:
Enabled: true
Style/RedundantStringEscape:
Enabled: true
Style/RedundantInitialize:
Enabled: true
AllowComments: false
Style/ReturnNil:
+ Enabled: true
+Style/RequireOrder:
Enabled: true
Style/SafeNavigation:
Enabled: false
Style/SelectByRegexp:
Enabled: true