mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 07:05:20 +00:00
Move migration_helpers Rubocop ignore to config (#24236)
This commit is contained in:
parent
37bbd3c106
commit
8bb4706e11
|
@ -28,6 +28,7 @@ AllCops:
|
||||||
- 'Vagrantfile'
|
- 'Vagrantfile'
|
||||||
- 'vendor/**/*'
|
- 'vendor/**/*'
|
||||||
- 'lib/json_ld/*' # Generated files
|
- 'lib/json_ld/*' # Generated files
|
||||||
|
- 'lib/mastodon/migration_helpers.rb' # Vendored from GitLab
|
||||||
- 'lib/templates/**/*'
|
- 'lib/templates/**/*'
|
||||||
|
|
||||||
# Reason: Prefer Hashes without extreme indentation
|
# Reason: Prefer Hashes without extreme indentation
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
|
|
||||||
# This is bad form, but there are enough differences that it's impractical to do
|
# This is bad form, but there are enough differences that it's impractical to do
|
||||||
# otherwise:
|
# otherwise:
|
||||||
# rubocop:disable all
|
|
||||||
|
|
||||||
module Mastodon
|
module Mastodon
|
||||||
module MigrationHelpers
|
module MigrationHelpers
|
||||||
|
@ -989,5 +988,3 @@ into similar problems in the future (e.g. when new tables are created).
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# rubocop:enable all
|
|
||||||
|
|
Loading…
Reference in a new issue