diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-01 15:08:40 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-01 15:08:40 +0000 |
commit | cdd826bc3ad3e6f234f96a861efa129dba5e2502 (patch) | |
tree | b159419c3a731637f35e95fe62f30ad437356996 /.rubocop_todo.yml | |
parent | e4a0b94a64dc5bd8f48430cd5cdf9aaa10927e75 (diff) | |
download | gitlab-ce-cdd826bc3ad3e6f234f96a861efa129dba5e2502.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop_todo.yml')
-rw-r--r-- | .rubocop_todo.yml | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index a51e9cc1f7c..7c6f42d504f 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -146,25 +146,6 @@ Performance/CollectionLiteralInLoop: Performance/ConstantRegexp: Enabled: false -# Offense count: 14 -# Cop supports --auto-correct. -# Configuration parameters: SafeMultiline. -Performance/DeletePrefix: - Exclude: - - 'app/helpers/submodule_helper.rb' - - 'app/workers/concerns/application_worker.rb' - - 'ee/lib/gitlab/geo/git_ssh_proxy.rb' - - 'lib/banzai/filter/repository_link_filter.rb' - - 'lib/gitlab/auth/ldap/dn.rb' - - 'lib/gitlab/gfm/uploads_rewriter.rb' - - 'lib/gitlab/git/ref.rb' - - 'lib/gitlab/project_template.rb' - - 'lib/gitlab/setup_helper.rb' - - 'lib/gitlab/time_tracking_formatter.rb' - - 'spec/controllers/projects/artifacts_controller_spec.rb' - - 'spec/lib/gitlab/gfm/uploads_rewriter_spec.rb' - - 'spec/support/helpers/test_env.rb' - # Offense count: 121 Performance/MethodObjectAsBlock: Enabled: false @@ -398,22 +379,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. @@ -433,20 +398,6 @@ Style/BisectedAttrAccessor: Style/CaseLikeIf: Enabled: false -# Offense count: 13 -Style/CombinableLoops: - Exclude: - - 'ee/db/fixtures/development/30_customizable_cycle_analytics.rb' - - 'ee/lib/gitlab/audit/events/preloader.rb' - - 'ee/spec/finders/snippets_finder_spec.rb' - - 'ee/spec/lib/ee/gitlab/background_migration/remove_duplicate_cs_findings_spec.rb' - - 'spec/features/merge_request/user_suggests_changes_on_diff_spec.rb' - - 'spec/finders/packages/group_packages_finder_spec.rb' - - 'spec/migrations/cleanup_optimistic_locking_nulls_pt2_fixed_spec.rb' - - 'spec/migrations/cleanup_optimistic_locking_nulls_spec.rb' - - 'spec/requests/api/members_spec.rb' - - 'spec/support/shared_examples/features/protected_branches_access_control_ce_shared_examples.rb' - # Offense count: 5 # Cop supports --auto-correct. Style/EachWithObject: @@ -471,13 +422,6 @@ Style/EmptyElse: Style/EmptyMethod: Enabled: false -# Offense count: 2 -# Cop supports --auto-correct. -Style/ExpandPathArguments: - Exclude: - - 'cable/config.ru' - - 'config.ru' - # Offense count: 118 # Cop supports --auto-correct. Style/ExplicitBlockArgument: |