rubocop.yml in rubocop-shopify-2.9.0 vs rubocop.yml in rubocop-shopify-2.10.0
- old
+ new
@@ -152,13 +152,10 @@
Enabled: false
Lint/LambdaWithoutLiteralBlock:
Enabled: false
-Lint/MissingCopEnableDirective:
- Enabled: false
-
Lint/MixedRegexpCaptureTypes:
Enabled: false
Lint/MultipleComparison:
Enabled: false
@@ -206,10 +203,13 @@
Enabled: false
Lint/RegexpAsCondition:
Enabled: false
+Lint/RequireRangeParentheses:
+ Enabled: true
+
Lint/RequireRelativeSelfPath:
Enabled: true
Lint/RescueType:
Enabled: false
@@ -388,10 +388,11 @@
Style/BisectedAttrAccessor:
Enabled: false
Style/CaseEquality:
AllowOnConstant: true
+ AllowOnSelfClass: true
Style/CaseLikeIf:
Enabled: false
Style/ClassEqualityComparison:
@@ -431,10 +432,13 @@
Enabled: false
Style/EmptyBlockParameter:
Enabled: false
+Style/EmptyHeredoc:
+ Enabled: true
+
Style/EmptyLambdaParameter:
Enabled: false
Style/EmptyMethod:
Enabled: false
@@ -521,10 +525,14 @@
Enabled: false
Style/Lambda:
Enabled: false
+Style/MagicCommentFormat:
+ Enabled: true
+ ValueCapitalization: lowercase
+
Style/MapCompactWithConditionalBlock:
Enabled: false
Style/MapToHash:
Enabled: false
@@ -699,11 +707,11 @@
Style/TrailingBodyOnMethodDefinition:
Enabled: false
Style/TrailingCommaInArguments:
- Enabled: false
+ EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInHashLiteral:
@@ -725,6 +733,5 @@
Enabled: false
Style/ClassMethodsDefinitions:
EnforcedStyle: self_class
Enabled: true
-