mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 13:17:13 +00:00
Regenerate rubocop-todo (#24834)
This commit is contained in:
parent
ff3b7069cf
commit
e1ebcc007d
|
@ -21,13 +21,6 @@ Layout/ArgumentAlignment:
|
||||||
- 'config/initializers/cors.rb'
|
- 'config/initializers/cors.rb'
|
||||||
- 'config/initializers/session_store.rb'
|
- 'config/initializers/session_store.rb'
|
||||||
|
|
||||||
# This cop supports safe autocorrection (--autocorrect).
|
|
||||||
# Configuration parameters: EnforcedStyle.
|
|
||||||
# SupportedStyles: empty_lines, no_empty_lines
|
|
||||||
Layout/EmptyLinesAroundBlockBody:
|
|
||||||
Exclude:
|
|
||||||
- 'config/routes.rb'
|
|
||||||
|
|
||||||
# This cop supports safe autocorrection (--autocorrect).
|
# This cop supports safe autocorrection (--autocorrect).
|
||||||
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
||||||
Layout/ExtraSpacing:
|
Layout/ExtraSpacing:
|
||||||
|
@ -491,7 +484,6 @@ RSpec/InstanceVariable:
|
||||||
- 'spec/controllers/statuses_cleanup_controller_spec.rb'
|
- 'spec/controllers/statuses_cleanup_controller_spec.rb'
|
||||||
- 'spec/models/concerns/account_finder_concern_spec.rb'
|
- 'spec/models/concerns/account_finder_concern_spec.rb'
|
||||||
- 'spec/models/concerns/account_interactions_spec.rb'
|
- 'spec/models/concerns/account_interactions_spec.rb'
|
||||||
- 'spec/models/concerns/remotable_spec.rb'
|
|
||||||
- 'spec/models/public_feed_spec.rb'
|
- 'spec/models/public_feed_spec.rb'
|
||||||
- 'spec/serializers/activitypub/note_serializer_spec.rb'
|
- 'spec/serializers/activitypub/note_serializer_spec.rb'
|
||||||
- 'spec/serializers/activitypub/update_poll_serializer_spec.rb'
|
- 'spec/serializers/activitypub/update_poll_serializer_spec.rb'
|
||||||
|
@ -499,17 +491,6 @@ RSpec/InstanceVariable:
|
||||||
- 'spec/services/search_service_spec.rb'
|
- 'spec/services/search_service_spec.rb'
|
||||||
- 'spec/services/unblock_domain_service_spec.rb'
|
- 'spec/services/unblock_domain_service_spec.rb'
|
||||||
|
|
||||||
RSpec/LeakyConstantDeclaration:
|
|
||||||
Exclude:
|
|
||||||
- 'spec/controllers/api/base_controller_spec.rb'
|
|
||||||
- 'spec/controllers/application_controller_spec.rb'
|
|
||||||
- 'spec/controllers/concerns/accountable_concern_spec.rb'
|
|
||||||
- 'spec/controllers/concerns/signature_verification_spec.rb'
|
|
||||||
- 'spec/lib/activitypub/adapter_spec.rb'
|
|
||||||
- 'spec/lib/connection_pool/shared_connection_pool_spec.rb'
|
|
||||||
- 'spec/lib/connection_pool/shared_timed_stack_spec.rb'
|
|
||||||
- 'spec/models/concerns/remotable_spec.rb'
|
|
||||||
|
|
||||||
RSpec/LetSetup:
|
RSpec/LetSetup:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'spec/controllers/admin/accounts_controller_spec.rb'
|
- 'spec/controllers/admin/accounts_controller_spec.rb'
|
||||||
|
@ -726,7 +707,6 @@ RSpec/VerifiedDoubles:
|
||||||
- 'spec/controllers/api/web/embeds_controller_spec.rb'
|
- 'spec/controllers/api/web/embeds_controller_spec.rb'
|
||||||
- 'spec/controllers/auth/sessions_controller_spec.rb'
|
- 'spec/controllers/auth/sessions_controller_spec.rb'
|
||||||
- 'spec/controllers/disputes/appeals_controller_spec.rb'
|
- 'spec/controllers/disputes/appeals_controller_spec.rb'
|
||||||
- 'spec/controllers/settings/imports_controller_spec.rb'
|
|
||||||
- 'spec/helpers/statuses_helper_spec.rb'
|
- 'spec/helpers/statuses_helper_spec.rb'
|
||||||
- 'spec/lib/suspicious_sign_in_detector_spec.rb'
|
- 'spec/lib/suspicious_sign_in_detector_spec.rb'
|
||||||
- 'spec/models/account/field_spec.rb'
|
- 'spec/models/account/field_spec.rb'
|
||||||
|
@ -1052,7 +1032,6 @@ Style/CombinableLoops:
|
||||||
# Configuration parameters: AllowedVars.
|
# Configuration parameters: AllowedVars.
|
||||||
Style/FetchEnvVar:
|
Style/FetchEnvVar:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/helpers/application_helper.rb'
|
|
||||||
- 'app/lib/redis_configuration.rb'
|
- 'app/lib/redis_configuration.rb'
|
||||||
- 'app/lib/translation_service.rb'
|
- 'app/lib/translation_service.rb'
|
||||||
- 'config/environments/development.rb'
|
- 'config/environments/development.rb'
|
||||||
|
@ -1502,7 +1481,6 @@ Style/GuardClause:
|
||||||
- 'app/controllers/auth/passwords_controller.rb'
|
- 'app/controllers/auth/passwords_controller.rb'
|
||||||
- 'app/controllers/settings/two_factor_authentication/webauthn_credentials_controller.rb'
|
- 'app/controllers/settings/two_factor_authentication/webauthn_credentials_controller.rb'
|
||||||
- 'app/lib/activitypub/activity/block.rb'
|
- 'app/lib/activitypub/activity/block.rb'
|
||||||
- 'app/lib/connection_pool/shared_connection_pool.rb'
|
|
||||||
- 'app/lib/request.rb'
|
- 'app/lib/request.rb'
|
||||||
- 'app/lib/request_pool.rb'
|
- 'app/lib/request_pool.rb'
|
||||||
- 'app/lib/webfinger.rb'
|
- 'app/lib/webfinger.rb'
|
||||||
|
@ -1601,7 +1579,6 @@ Style/MutableConstant:
|
||||||
- 'app/services/delete_account_service.rb'
|
- 'app/services/delete_account_service.rb'
|
||||||
- 'config/initializers/twitter_regex.rb'
|
- 'config/initializers/twitter_regex.rb'
|
||||||
- 'lib/mastodon/migration_warning.rb'
|
- 'lib/mastodon/migration_warning.rb'
|
||||||
- 'spec/controllers/api/base_controller_spec.rb'
|
|
||||||
|
|
||||||
# This cop supports safe autocorrection (--autocorrect).
|
# This cop supports safe autocorrection (--autocorrect).
|
||||||
Style/NilLambda:
|
Style/NilLambda:
|
||||||
|
@ -1685,7 +1662,6 @@ Style/RedundantRegexpEscape:
|
||||||
Style/RegexpLiteral:
|
Style/RegexpLiteral:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'app/lib/link_details_extractor.rb'
|
- 'app/lib/link_details_extractor.rb'
|
||||||
- 'app/lib/permalink_redirector.rb'
|
|
||||||
- 'app/lib/plain_text_formatter.rb'
|
- 'app/lib/plain_text_formatter.rb'
|
||||||
- 'app/lib/tag_manager.rb'
|
- 'app/lib/tag_manager.rb'
|
||||||
- 'app/lib/text_formatter.rb'
|
- 'app/lib/text_formatter.rb'
|
||||||
|
@ -1807,11 +1783,14 @@ Style/TrailingCommaInHashLiteral:
|
||||||
- 'config/environments/test.rb'
|
- 'config/environments/test.rb'
|
||||||
|
|
||||||
# This cop supports safe autocorrection (--autocorrect).
|
# This cop supports safe autocorrection (--autocorrect).
|
||||||
# Configuration parameters: WordRegex.
|
# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
|
||||||
# SupportedStyles: percent, brackets
|
# SupportedStyles: percent, brackets
|
||||||
Style/WordArray:
|
Style/WordArray:
|
||||||
EnforcedStyle: percent
|
Exclude:
|
||||||
MinSize: 6
|
- 'app/helpers/languages_helper.rb'
|
||||||
|
- 'config/initializers/cors.rb'
|
||||||
|
- 'spec/controllers/settings/imports_controller_spec.rb'
|
||||||
|
- 'spec/models/form/import_spec.rb'
|
||||||
|
|
||||||
# This cop supports safe autocorrection (--autocorrect).
|
# This cop supports safe autocorrection (--autocorrect).
|
||||||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
||||||
|
|
Loading…
Reference in a new issue