Skip to content

Commit c164bc4

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rubocop.yml

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

113+
<% if rubocop_version >= "1.67" %>
114+
Layout/LeadingCommentSpace:
115+
AllowRBSInlineAnnotation: true
116+
<% end %>
117+
113118
Layout/LineContinuationLeadingSpace:
114119
Enabled: true
115120

0 commit comments

Comments
 (0)