Skip to content

Commit 5df6f01

Browse files
committed
Allow RBS comments without a leading space
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
1 parent f50082a commit 5df6f01

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PATH
22
remote: .
33
specs:
44
rubocop-shopify (2.15.1)
5-
rubocop (~> 1.62)
5+
rubocop (~> 1.67)
66

77
GEM
88
remote: https://rubygems.org/

rubocop-shopify.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ Gem::Specification.new do |s|
2323

2424
s.required_ruby_version = ">= 3.1.0"
2525

26-
s.add_dependency("rubocop", "~> 1.62")
26+
s.add_dependency("rubocop", "~> 1.67")
2727
end

rubocop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ Layout/HashAlignment:
110110
Layout/HeredocIndentation:
111111
Enabled: false
112112

113+
Layout/LeadingCommentSpace:
114+
Enabled: true
115+
AllowRBSInlineAnnotation: true
116+
113117
Layout/LineContinuationLeadingSpace:
114118
Enabled: true
115119

0 commit comments

Comments
 (0)