Fix Performance/RedundantEqualityComparisonBlock cop (#24799)

This commit is contained in:
Matt Jankowski 2023-05-03 04:30:10 -04:00 committed by GitHub
commit 97385f27bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View file

@ -327,12 +327,6 @@ Performance/MethodObjectAsBlock:
- 'app/models/account_suggestions/source.rb'
- 'spec/models/export_spec.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: AllowRegexpMatch.
Performance/RedundantEqualityComparisonBlock:
Exclude:
- 'spec/requests/link_headers_spec.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: MaxKeyValuePairs.
Performance/RedundantMerge: