Move migration_helpers Rubocop ignore to config (#24236)

pull/27262/head
Nick Schonning 2023-10-03 08:58:40 -04:00 committed by GitHub
parent 37bbd3c106
commit 8bb4706e11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -28,6 +28,7 @@ AllCops:
- 'Vagrantfile'
- 'vendor/**/*'
- 'lib/json_ld/*' # Generated files
- 'lib/mastodon/migration_helpers.rb' # Vendored from GitLab
- 'lib/templates/**/*'
# Reason: Prefer Hashes without extreme indentation

View File

@ -37,7 +37,6 @@
# This is bad form, but there are enough differences that it's impractical to do
# otherwise:
# rubocop:disable all
module Mastodon
module MigrationHelpers
@ -989,5 +988,3 @@ into similar problems in the future (e.g. when new tables are created).
end
end
end
# rubocop:enable all