Skip to content

Commit

Permalink
Allow RBS comments without a leading space
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Terrasa <[email protected]>
  • Loading branch information
Morriar committed Feb 20, 2025
1 parent f50082a commit 08c39dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
rubocop-shopify (2.15.1)
rubocop (~> 1.62)
rubocop (~> 1.67)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion rubocop-shopify.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ Gem::Specification.new do |s|

s.required_ruby_version = ">= 3.1.0"

s.add_dependency("rubocop", "~> 1.62")
s.add_dependency("rubocop", "~> 1.67")
end
3 changes: 3 additions & 0 deletions rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ Layout/HashAlignment:
Layout/HeredocIndentation:
Enabled: false

Layout/LeadingCommentSpace:
AllowRBSInlineAnnotation: true

Layout/LineContinuationLeadingSpace:
Enabled: true

Expand Down

0 comments on commit 08c39dc

Please sign in to comment.