Skip to content

Commit

Permalink
Merge pull request #1257 from rubocop/configure-rspec-examplelength-c…
Browse files Browse the repository at this point in the history
…op-internally

Count heredocs as one line in ExampleLength
  • Loading branch information
bquorning authored Mar 31, 2022
2 parents 1f2503b + a123509 commit 5e62066
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ Naming/FileName:
- lib/rubocop-rspec.rb

RSpec/ExampleLength:
Max: 30
CountAsOne:
- heredoc
Max: 11

RSpec/DescribeClass:
Exclude:
Expand Down

0 comments on commit 5e62066

Please sign in to comment.