gearheads
/
mastodon
Archived
2
0
Fork 0

Autofix Rubocop Lint/ParenthesesAsGroupedExpression (#23682)

gh/dev
Nick Schonning 2023-02-17 22:00:05 -05:00 committed by GitHub
parent e5cf23cf3a
commit a7db0b41cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 15 deletions

View File

@ -289,15 +289,6 @@ Lint/OrAssignmentToConstant:
Exclude: Exclude:
- 'lib/sanitize_ext/sanitize_config.rb' - 'lib/sanitize_ext/sanitize_config.rb'
# Offense count: 6
# This cop supports safe autocorrection (--autocorrect).
Lint/ParenthesesAsGroupedExpression:
Exclude:
- 'spec/controllers/api/v1/admin/accounts_controller_spec.rb'
- 'spec/controllers/api/v2/admin/accounts_controller_spec.rb'
- 'spec/lib/activitypub/activity/flag_spec.rb'
- 'spec/models/import_spec.rb'
# Offense count: 3 # Offense count: 3
# This cop supports safe autocorrection (--autocorrect). # This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.