Skip to content

Commit a123509

Browse files
committed
Count heredocs as one line in ExampleLength
This changes only the *internal* RuboCop configuration. End-users will see no change.
1 parent 1f2503b commit a123509

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.rubocop.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ Naming/FileName:
6060
- lib/rubocop-rspec.rb
6161

6262
RSpec/ExampleLength:
63-
Max: 30
63+
CountAsOne:
64+
- heredoc
65+
Max: 11
6466

6567
RSpec/DescribeClass:
6668
Exclude:

0 commit comments

Comments
 (0)