Skip to content

Commit

Permalink
Merge pull request #585 from Shopify/enable-continuation-cops
Browse files Browse the repository at this point in the history
  • Loading branch information
sambostock committed Oct 30, 2023
2 parents 77a8193 + b985475 commit 949500a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion rubocop-shopify.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Gem::Specification.new do |s|
s.name = "rubocop-shopify"
s.version = "2.14.0"
s.summary = "Shopify's style guide for Ruby."
s.description = "Gem containing the rubocop.yml config that corresponds to "\
s.description = "Gem containing the rubocop.yml config that corresponds to " \
"the implementation of the Shopify's style guide for Ruby."

s.license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ Layout/HashAlignment:
EnforcedLastArgumentHashStyle: ignore_implicit

Layout/LineContinuationLeadingSpace:
Enabled: false
Enabled: true

Layout/LineContinuationSpacing:
Enabled: false
Enabled: true

Layout/LineEndStringConcatenationIndentation:
Enabled: true
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/full_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ Layout/LeadingEmptyLines:
Layout/LineContinuationLeadingSpace:
Description: Use trailing spaces instead of leading spaces in strings broken over
multiple lines (by a backslash).
Enabled: false
Enabled: true
VersionAdded: '1.31'
VersionChanged: '1.45'
EnforcedStyle: trailing
Expand All @@ -698,7 +698,7 @@ Layout/LineContinuationLeadingSpace:
- trailing
Layout/LineContinuationSpacing:
Description: Checks the spacing in front of backslash in line continuations.
Enabled: false
Enabled: true
VersionAdded: '1.31'
EnforcedStyle: space
SupportedStyles:
Expand Down

0 comments on commit 949500a

Please sign in to comment.