Skip to content

Commit

Permalink
Make Performance/DeletePrefix and Performance/DeleteSuffix aware …
Browse files Browse the repository at this point in the history
…of multiline

Follow up to #326 (comment).

For now this repository can be set to `SafeMultiline: false`.
  • Loading branch information
koic committed Jan 6, 2022
1 parent 2e66c5c commit e504661
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ Metrics/ModuleLength:
Exclude:
- 'spec/**/*.rb'

Performance/DeletePrefix:
SafeMultiline: false

Performance/DeleteSuffix:
SafeMultiline: false

# This disabling is a workaround for https://github.com/rubocop-hq/rubocop-rails/issues/374.
RSpec/FactoryBot/CreateList:
Enabled: false
Expand Down

0 comments on commit e504661

Please sign in to comment.