Fix Performance/MethodObjectAsBlock cop (#24798)

This commit is contained in:
Matt Jankowski
2023-05-03 04:30:54 -04:00
committed by GitHub
parent 97385f27bd
commit a0c9f2447e
3 changed files with 7 additions and 12 deletions

View File

@ -322,11 +322,6 @@ Performance/MapCompact:
- 'db/migrate/20200407202420_migrate_unavailable_inboxes.rb'
- 'spec/presenters/status_relationships_presenter_spec.rb'
Performance/MethodObjectAsBlock:
Exclude:
- 'app/models/account_suggestions/source.rb'
- 'spec/models/export_spec.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: MaxKeyValuePairs.
Performance/RedundantMerge: