|
|
@ -2958,79 +2958,6 @@ Style/RedundantArgument: |
|
|
|
- 'app/helpers/application_helper.rb' |
|
|
|
- 'lib/tasks/emojis.rake' |
|
|
|
|
|
|
|
# Offense count: 83 |
|
|
|
# This cop supports safe autocorrection (--autocorrect). |
|
|
|
Style/RedundantBegin: |
|
|
|
Exclude: |
|
|
|
- 'app/controllers/admin/dashboard_controller.rb' |
|
|
|
- 'app/controllers/api/v1/announcements_controller.rb' |
|
|
|
- 'app/controllers/api/v1/trends/links_controller.rb' |
|
|
|
- 'app/controllers/api/v1/trends/statuses_controller.rb' |
|
|
|
- 'app/controllers/api/v1/trends/tags_controller.rb' |
|
|
|
- 'app/controllers/concerns/rate_limit_headers.rb' |
|
|
|
- 'app/controllers/concerns/two_factor_authentication_concern.rb' |
|
|
|
- 'app/helpers/admin/dashboard_helper.rb' |
|
|
|
- 'app/helpers/admin/trends/statuses_helper.rb' |
|
|
|
- 'app/helpers/branding_helper.rb' |
|
|
|
- 'app/helpers/domain_control_helper.rb' |
|
|
|
- 'app/helpers/formatting_helper.rb' |
|
|
|
- 'app/helpers/instance_helper.rb' |
|
|
|
- 'app/helpers/jsonld_helper.rb' |
|
|
|
- 'app/lib/activity_tracker.rb' |
|
|
|
- 'app/lib/activitypub/activity/create.rb' |
|
|
|
- 'app/lib/activitypub/forwarder.rb' |
|
|
|
- 'app/lib/admin/metrics/dimension/software_versions_dimension.rb' |
|
|
|
- 'app/lib/admin/metrics/dimension/space_usage_dimension.rb' |
|
|
|
- 'app/lib/extractor.rb' |
|
|
|
- 'app/lib/importer/statuses_index_importer.rb' |
|
|
|
- 'app/lib/link_details_extractor.rb' |
|
|
|
- 'app/lib/request.rb' |
|
|
|
- 'app/models/account.rb' |
|
|
|
- 'app/models/account/field.rb' |
|
|
|
- 'app/models/admin/account_action.rb' |
|
|
|
- 'app/models/announcement.rb' |
|
|
|
- 'app/models/concerns/account_merging.rb' |
|
|
|
- 'app/models/concerns/pam_authenticable.rb' |
|
|
|
- 'app/models/email_domain_block.rb' |
|
|
|
- 'app/models/form/admin_settings.rb' |
|
|
|
- 'app/models/form/custom_emoji_batch.rb' |
|
|
|
- 'app/models/notification.rb' |
|
|
|
- 'app/models/remote_follow.rb' |
|
|
|
- 'app/models/status.rb' |
|
|
|
- 'app/models/status_edit.rb' |
|
|
|
- 'app/models/trends/links.rb' |
|
|
|
- 'app/models/trends/statuses.rb' |
|
|
|
- 'app/models/trends/tag_filter.rb' |
|
|
|
- 'app/models/trends/tags.rb' |
|
|
|
- 'app/models/web/push_subscription.rb' |
|
|
|
- 'app/presenters/tag_relationships_presenter.rb' |
|
|
|
- 'app/services/account_search_service.rb' |
|
|
|
- 'app/services/activitypub/fetch_featured_tags_collection_service.rb' |
|
|
|
- 'app/services/activitypub/fetch_remote_status_service.rb' |
|
|
|
- 'app/services/fetch_link_card_service.rb' |
|
|
|
- 'app/services/process_mentions_service.rb' |
|
|
|
- 'app/services/reblog_service.rb' |
|
|
|
- 'app/services/resolve_account_service.rb' |
|
|
|
- 'app/validators/domain_validator.rb' |
|
|
|
- 'app/validators/existing_username_validator.rb' |
|
|
|
- 'app/validators/import_validator.rb' |
|
|
|
- 'app/workers/backup_worker.rb' |
|
|
|
- 'app/workers/post_process_media_worker.rb' |
|
|
|
- 'app/workers/scheduler/follow_recommendations_scheduler.rb' |
|
|
|
- 'db/migrate/20180528141303_fix_accounts_unique_index.rb' |
|
|
|
- 'db/migrate/20180812173710_copy_status_stats.rb' |
|
|
|
- 'db/migrate/20181116173541_copy_account_stats.rb' |
|
|
|
- 'lib/mastodon/accounts_cli.rb' |
|
|
|
- 'lib/mastodon/cli_helper.rb' |
|
|
|
- 'lib/mastodon/ip_blocks_cli.rb' |
|
|
|
- 'lib/mastodon/maintenance_cli.rb' |
|
|
|
- 'lib/mastodon/media_cli.rb' |
|
|
|
- 'lib/mastodon/search_cli.rb' |
|
|
|
- 'lib/mastodon/upgrade_cli.rb' |
|
|
|
- 'lib/paperclip/color_extractor.rb' |
|
|
|
- 'lib/sanitize_ext/sanitize_config.rb' |
|
|
|
- 'lib/tasks/db.rake' |
|
|
|
|
|
|
|
# Offense count: 16 |
|
|
|
# This cop supports safe autocorrection (--autocorrect). |
|
|
|
Style/RedundantRegexpCharacterClass: |
|
|
|