~cytrogen/masto-fe

8bb4706e11658b633ee589138544a0b5845829f1 — Nick Schonning 2 years ago 37bbd3c
Move migration_helpers Rubocop ignore to config (#24236)

2 files changed, 1 insertions(+), 3 deletions(-)

M .rubocop.yml
M lib/mastodon/migration_helpers.rb
M .rubocop.yml => .rubocop.yml +1 -0
@@ 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

M lib/mastodon/migration_helpers.rb => lib/mastodon/migration_helpers.rb +0 -3
@@ 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