Skip to content

Commit 5e62066

Browse files
authored
Merge pull request #1257 from rubocop/configure-rspec-examplelength-cop-internally
Count heredocs as one line in ExampleLength
2 parents 1f2503b + a123509 commit 5e62066

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)