Skip to content

Commit 527675c

Browse files
committed
Ignore lines made long by cop directive comments
1 parent 44d1ba8 commit 527675c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

rubocop.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ Layout/LineEndStringConcatenationIndentation:
6464
EnforcedStyle: indented
6565

6666
Layout/LineLength:
67-
IgnoreCopDirectives: false
6867
AllowedPatterns:
6968
- "\\A\\s*(remote_)?test(_\\w+)?\\s.*(do|->)(\\s|\\Z)"
7069

test/fixtures/full_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ Layout/LineLength:
714714
URISchemes:
715715
- http
716716
- https
717-
IgnoreCopDirectives: false
717+
IgnoreCopDirectives: true
718718
AllowedPatterns:
719719
- "\\A\\s*(remote_)?test(_\\w+)?\\s.*(do|->)(\\s|\\Z)"
720720
IgnoredPatterns: []

0 commit comments

Comments
 (0)