From 65dc46ed113c93a7a4b6e9186490cc9afbde5f81 Mon Sep 17 00:00:00 2001 From: Vitali Tatarintev Date: Tue, 29 Mar 2022 12:23:21 +0200 Subject: [PATCH] Move Style/ArrayCoercion into separate TODO file --- .rubocop_todo.yml | 16 ---------------- .rubocop_todo/style/array_coercion.yml | 10 ++++++++++ 2 files changed, 10 insertions(+), 16 deletions(-) create mode 100644 .rubocop_todo/style/array_coercion.yml diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a51e9cc1f7c322..9e8ebb6b995bec 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -398,22 +398,6 @@ Rails/WhereExists: Style/AccessorGrouping: Enabled: false -# Offense count: 11 -# Cop supports --auto-correct. -Style/ArrayCoercion: - Exclude: - - 'app/controllers/admin/ci/variables_controller.rb' - - 'app/controllers/groups/variables_controller.rb' - - 'app/controllers/projects/variables_controller.rb' - - 'db/migrate/20190620105427_change_null_private_profile_to_false.rb' - - 'db/post_migrate/20190812070645_migrate_private_profile_nulls.rb' - - 'db/post_migrate/20200311130802_schedule_populate_user_highest_roles_table.rb' - - 'db/post_migrate/20200805152108_migrate_null_external_diff_store_to_local_value.rb' - - 'db/post_migrate/20200806173633_migrate_null_package_files_file_store_to_local_value.rb' - - 'ee/app/services/geo/repository_verification_secondary_service.rb' - - 'ee/lib/ee/banzai/pipeline/gfm_pipeline.rb' - - 'spec/support/helpers/lfs_http_helpers.rb' - # Offense count: 188 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. diff --git a/.rubocop_todo/style/array_coercion.yml b/.rubocop_todo/style/array_coercion.yml new file mode 100644 index 00000000000000..a49fc42967d04e --- /dev/null +++ b/.rubocop_todo/style/array_coercion.yml @@ -0,0 +1,10 @@ +--- +# Cop supports --auto-correct. +Style/ArrayCoercion: + Exclude: + - 'app/controllers/admin/ci/variables_controller.rb' + - 'app/controllers/groups/variables_controller.rb' + - 'app/controllers/projects/variables_controller.rb' + - 'ee/app/services/geo/repository_verification_secondary_service.rb' + - 'ee/lib/ee/banzai/pipeline/gfm_pipeline.rb' + - 'spec/support/helpers/lfs_http_helpers.rb' -- GitLab