Autofix Rubocop Style/Lambda (#23696)
This commit is contained in:
parent
e2a3ebb271
commit
ab7816a414
6 changed files with 7 additions and 19 deletions
|
|
@ -2930,18 +2930,6 @@ Style/InverseMethods:
|
|||
- 'app/services/update_account_service.rb'
|
||||
- 'spec/controllers/activitypub/replies_controller_spec.rb'
|
||||
|
||||
# Offense count: 7
|
||||
# This cop supports safe autocorrection (--autocorrect).
|
||||
# Configuration parameters: EnforcedStyle.
|
||||
# SupportedStyles: line_count_dependent, lambda, literal
|
||||
Style/Lambda:
|
||||
Exclude:
|
||||
- 'app/models/concerns/paginable.rb'
|
||||
- 'app/models/status.rb'
|
||||
- 'app/models/tag.rb'
|
||||
- 'lib/cli.rb'
|
||||
- 'lib/mastodon/domains_cli.rb'
|
||||
|
||||
# Offense count: 1
|
||||
# This cop supports unsafe autocorrection (--autocorrect-all).
|
||||
Style/MapToHash:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue