Skip to content

Commit

Permalink
Count heredocs as one line in ExampleLength
Browse files Browse the repository at this point in the history
This changes only the *internal* RuboCop configuration. End-users will
see no change.
  • Loading branch information
bquorning committed Mar 31, 2022
1 parent 1f2503b commit a123509
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 a123509

Please sign in to comment.