-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💄 replaces deprecated rubocop statements
- Loading branch information
Shana Moore
committed
Aug 15, 2024
1 parent
e33b424
commit d2957c9
Showing
22 changed files
with
155 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,48 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config --exclude-limit 0` | ||
# on 2024-08-14 22:12:29 UTC using RuboCop version 1.61.0. | ||
# on 2024-08-15 14:53:42 UTC using RuboCop version 1.61.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 3 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. | ||
Layout/ExtraSpacing: | ||
Enabled: false | ||
|
||
# Offense count: 3 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowForAlignment. | ||
Layout/SpaceBeforeFirstArg: | ||
Enabled: false | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowedParentClasses. | ||
Lint/MissingSuper: | ||
Enabled: false | ||
|
||
# Offense count: 8 | ||
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns. | ||
Metrics/MethodLength: | ||
Enabled: false | ||
|
||
# Offense count: 3 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. | ||
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys | ||
# SupportedShorthandSyntax: always, never, either, consistent | ||
Style/HashSyntax: | ||
Enabled: false | ||
|
||
# Offense count: 2 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Style/RedundantParentheses: | ||
Enabled: false | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowMultipleReturnValues. | ||
Style/RedundantReturn: | ||
Enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,7 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2024-08-14 22:12:52 UTC using RuboCop version 1.61.0. | ||
# on 2024-08-15 14:54:14 UTC using RuboCop version 1.61.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 3 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. | ||
Layout/ExtraSpacing: | ||
Exclude: | ||
- 'spec/models/account_spec.rb' | ||
|
||
# Offense count: 3 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowForAlignment. | ||
Layout/SpaceBeforeFirstArg: | ||
Exclude: | ||
- 'spec/models/account_spec.rb' | ||
|
||
# Offense count: 7 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowInHeredoc. | ||
Layout/TrailingWhitespace: | ||
Exclude: | ||
- 'app/models/sushi/item_report.rb' | ||
- 'app/models/sushi/platform_report.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: AllowedParentClasses. | ||
Lint/MissingSuper: | ||
Exclude: | ||
- 'spec/services/iiif_print/tenant_config_spec.rb' | ||
|
||
# Offense count: 12 | ||
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns. | ||
Metrics/MethodLength: | ||
Exclude: | ||
- 'app/controllers/application_controller.rb' | ||
- 'app/controllers/hyrax/dashboard/collections_controller_decorator.rb' | ||
- 'app/controllers/identity_providers_controller.rb' | ||
- 'app/controllers/users/omniauth_callbacks_controller.rb' | ||
- 'app/helpers/blacklight/catalog_helper_behavior_decorator.rb' | ||
- 'app/jobs/batch_email_notification_job.rb' | ||
- 'app/jobs/reindex_works_job.rb' | ||
- 'app/models/sort_title.rb' | ||
- 'app/models/sushi.rb' | ||
- 'lib/reprocessor.rb' | ||
|
||
# Offense count: 3 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. | ||
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys | ||
# SupportedShorthandSyntax: always, never, either, consistent | ||
Style/HashSyntax: | ||
Exclude: | ||
- 'app/controllers/roles_controller.rb' | ||
- 'spec/views/hyrax/base/_relationships.html.erb_spec.rb' | ||
|
||
# Offense count: 2 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
Style/RedundantParentheses: | ||
Exclude: | ||
- 'app/models/hydra/access_controls/embargo_decorator.rb' | ||
- 'app/models/hydra/access_controls/lease_decorator.rb' | ||
|
||
# Offense count: 1 | ||
# This cop supports safe autocorrection (--autocorrect). | ||
# Configuration parameters: AllowMultipleReturnValues. | ||
Style/RedundantReturn: | ||
Exclude: | ||
- 'app/helpers/application_helper.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.