From 0f3cd3922fe6777ae8b98de4f2ceb2adc5a2c282 Mon Sep 17 00:00:00 2001 From: Mantas Date: Mon, 21 Jun 2021 12:49:35 +0300 Subject: [PATCH] Maintenance: Rubocop ExistsResetColumnInformation exclusions moved from todo to default --- .rubocop/default.yml | 3 +++ .rubocop/todo.rspec.yml | 45 ----------------------------------------- 2 files changed, 3 insertions(+), 45 deletions(-) diff --git a/.rubocop/default.yml b/.rubocop/default.yml index 485cc880d..a7481ed17 100644 --- a/.rubocop/default.yml +++ b/.rubocop/default.yml @@ -342,3 +342,6 @@ Zammad/ExistsResetColumnInformation: Include: - "db/migrate/*.rb" - "**/db/addon/**/*.rb" + Exclude: + - 'db/migrate/201*_*.rb' + - 'db/migrate/2020*_*.rb' diff --git a/.rubocop/todo.rspec.yml b/.rubocop/todo.rspec.yml index 30b8f3599..24179d7b2 100644 --- a/.rubocop/todo.rspec.yml +++ b/.rubocop/todo.rspec.yml @@ -678,48 +678,3 @@ RSpec/MultipleMemoizedHelpers: Description: Checks if example groups contain too many `let` and `subject` calls. Enabled: false StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MultipleMemoizedHelpers - -Zammad/ExistsResetColumnInformation: - Exclude: - - 'db/migrate/20120101000001_create_base.rb' - - 'db/migrate/20120101000010_create_ticket.rb' - - 'db/migrate/20150979000001_update_timestamps.rb' - - 'db/migrate/20160921000001_permission_active.rb' - - 'db/migrate/20160921000001_permission_active.rb.rb' - - 'db/migrate/20161101131409_create_doorkeeper_tables.rb' - - 'db/migrate/20161112000001_organization_domain_based_assignment.rb' - - 'db/migrate/20161117000001_job_unable_to_create_issue_432.rb' - - 'db/migrate/20161228000001_add_taskbar_meta.rb' - - 'db/migrate/20170116000001_add_ticket_time_accounting_373.rb' - - 'db/migrate/20170119000001_login_email_length_650.rb' - - 'db/migrate/20170207081400_ticket_state_priority_defaults.rb' - - 'db/migrate/20170419000001_ldap_support.rb' - - 'db/migrate/20170419000002_overview_role_ids.rb' - - 'db/migrate/20170420000001_chat_increase_message_size.rb' - - 'db/migrate/20170421110000_add_origin_by_id.rb' - - 'db/migrate/20170426135500_add_reply_to.rb' - - 'db/migrate/20170515000001_scheduler_status.rb' - - 'db/migrate/20170531144425_foreign_keys.rb' - - 'db/migrate/20170608151442_enhanced_permissions.rb' - - 'db/migrate/20170619000001_tree_select.rb' - - 'db/migrate/20170626000001_locale_add_direction.rb' - - 'db/migrate/20171002091043_change_note_char_limit_for_users_and_organizations.rb' - - 'db/migrate/20171213000001_change_authorization_token_size.rb' - - 'db/migrate/20180128000001_chat_add_ip_country.rb' - - 'db/migrate/20180709020509_add_group_direction_to_overviews.rb' - - 'db/migrate/20180719033247_add_confidential_to_doorkeeper_application.rb' - - 'db/migrate/20180809000001_cti_generic_api.rb' - - 'db/migrate/20181017000001_cti_generic_api2.rb' - - 'db/migrate/20190409000001_setting_ticket_overview_priority_icon_and_color.rb' - - 'db/migrate/20190531180304_initialize_knowledge_base.rb' - - 'db/migrate/20190713000001_group_dependent_macros.rb' - - 'db/migrate/20190717210244_issue_2641_kb_color_change_limit.rb' - - 'db/migrate/20190724000001_rename_reserved_words.rb' - - 'db/migrate/20190918114553_issue_2867_footer_header_public_link.rb' - - 'db/migrate/20191001090809_create_active_job_locks.rb' - - 'db/migrate/20200121000001_smime_support.rb' - - 'db/migrate/20200205000001_chat_add_allow_website.rb' - - 'db/migrate/20200707000001_data_privacy_init.rb' - - 'db/migrate/20200911070327_data_privacy_delete_name.rb' - - 'db/migrate/20201002094932_datetime_precision.rb' - - 'db/migrate/20201006131231_stats_store_polymorphic_association.rb'