Autofix Rubocop Lint/AmbiguousOperatorPrecedence (#23681)

This commit is contained in:
Nick Schonning
2023-02-17 22:30:23 -05:00
committed by GitHub
parent e2567df860
commit a6f77aa28a
7 changed files with 16 additions and 27 deletions

View File

@ -183,17 +183,6 @@ Lint/AmbiguousBlockAssociation:
- 'spec/services/unsuspend_account_service_spec.rb'
- 'spec/workers/scheduler/accounts_statuses_cleanup_scheduler_spec.rb'
# Offense count: 17
# This cop supports safe autocorrection (--autocorrect).
Lint/AmbiguousOperatorPrecedence:
Exclude:
- 'app/controllers/concerns/rate_limit_headers.rb'
- 'app/lib/rate_limiter.rb'
- 'app/models/system_key.rb'
- 'app/models/webauthn_credential.rb'
- 'app/workers/concerns/exponential_backoff.rb'
- 'lib/paperclip/color_extractor.rb'
# Offense count: 15
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums