|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
# This configuration was generated by
|
|
|
|
|
# `rubocop --auto-gen-config --auto-gen-only-exclude --no-exclude-limit --no-offense-counts --no-auto-gen-timestamp`
|
|
|
|
|
# using RuboCop version 1.57.1.
|
|
|
|
|
# using RuboCop version 1.57.2.
|
|
|
|
|
# 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
|
|
|
|
@ -163,13 +163,6 @@ Rails/ApplicationController:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'app/controllers/health_controller.rb'
|
|
|
|
|
|
|
|
|
|
# This cop supports safe autocorrection (--autocorrect).
|
|
|
|
|
# Configuration parameters: Severity.
|
|
|
|
|
Rails/DuplicateAssociation:
|
|
|
|
|
Exclude:
|
|
|
|
|
- 'app/serializers/activitypub/collection_serializer.rb'
|
|
|
|
|
- 'app/serializers/activitypub/note_serializer.rb'
|
|
|
|
|
|
|
|
|
|
# Configuration parameters: Include.
|
|
|
|
|
# Include: app/models/**/*.rb
|
|
|
|
|
Rails/HasAndBelongsToMany:
|
|
|
|
@ -284,7 +277,6 @@ Rails/SkipsModelValidations:
|
|
|
|
|
- 'db/post_migrate/20221101190723_backfill_admin_action_logs.rb'
|
|
|
|
|
- 'db/post_migrate/20221206114142_backfill_admin_action_logs_again.rb'
|
|
|
|
|
- 'lib/mastodon/cli/accounts.rb'
|
|
|
|
|
- 'lib/mastodon/cli/main.rb'
|
|
|
|
|
- 'lib/mastodon/cli/maintenance.rb'
|
|
|
|
|
- 'spec/lib/activitypub/activity/follow_spec.rb'
|
|
|
|
|
- 'spec/services/follow_service_spec.rb'
|
|
|
|
@ -377,7 +369,6 @@ Style/FetchEnvVar:
|
|
|
|
|
- 'config/initializers/3_omniauth.rb'
|
|
|
|
|
- 'config/initializers/blacklists.rb'
|
|
|
|
|
- 'config/initializers/cache_buster.rb'
|
|
|
|
|
- 'config/initializers/content_security_policy.rb'
|
|
|
|
|
- 'config/initializers/devise.rb'
|
|
|
|
|
- 'config/initializers/paperclip.rb'
|
|
|
|
|
- 'config/initializers/vapid.rb'
|
|
|
|
|