rubocop.yml in rubocop-shopify-1.0.7 vs rubocop.yml in rubocop-shopify-2.0.0
- old
+ new
@@ -18,10 +18,16 @@
EnforcedStyle: prefer_alias_method
SupportedStyles:
- prefer_alias
- prefer_alias_method
+Layout/ArgumentAlignment:
+ EnforcedStyle: with_fixed_indentation
+ SupportedStyles:
+ - with_first_argument
+ - with_fixed_indentation
+
Layout/HashAlignment:
EnforcedHashRocketStyle: key
EnforcedColonStyle: key
EnforcedLastArgumentHashStyle: ignore_implicit
SupportedLastArgumentHashStyles:
@@ -163,18 +169,10 @@
Exclude: []
ExpectMatchingDefinition: false
Regex:
IgnoreExecutableScripts: true
-Layout/FirstArgumentIndentation:
- EnforcedStyle: consistent
- SupportedStyles:
- - consistent
- - special_for_inner_method_call
- - special_for_inner_method_call_in_parentheses
- IndentationWidth:
-
Style/For:
EnforcedStyle: each
SupportedStyles:
- for
- each
@@ -397,14 +395,17 @@
EnforcedStyle: require_parentheses
SupportedStyles:
- require_parentheses
- require_no_parentheses
+Style/StringLiterals:
+ Enabled: true
+ EnforcedStyle: double_quotes
+ ConsistentQuotesInMultiline: false
+
Style/StringLiteralsInInterpolation:
- EnforcedStyle: single_quotes
- SupportedStyles:
- - single_quotes
- - double_quotes
+ Enabled: true
+ EnforcedStyle: double_quotes
Layout/SpaceAroundBlockParameters:
EnforcedStyleInsidePipes: no_space
SupportedStylesInsidePipes:
- space