Skip to content

Commit

Permalink
Enable Style/EmptyHeredoc and fix offense
Browse files Browse the repository at this point in the history
  • Loading branch information
bquorning committed Oct 13, 2022
1 parent 45cd9bd commit 7b5b940
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ Layout/LineContinuationSpacing:
Enabled: true
Layout/LineEndStringConcatenationIndentation:
Enabled: true
Style/EmptyHeredoc:
Enabled: true

# Enable our own pending cops.

Expand Down
3 changes: 1 addition & 2 deletions spec/rubocop/cop/rspec/empty_example_group_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
end
RUBY

expect_correction(<<~RUBY)
RUBY
expect_correction('')
end

it 'flags example group with examples defined in hooks' do
Expand Down

0 comments on commit 7b5b940

Please sign in to comment.