@@ -146,25 +146,6 @@ Performance/CollectionLiteralInLoop:
146
146
Performance/ConstantRegexp :
147
147
Enabled : false
148
148
149
- # Offense count: 14
150
- # Cop supports --auto-correct.
151
- # Configuration parameters: SafeMultiline.
152
- Performance/DeletePrefix :
153
- Exclude :
154
- - ' app/helpers/submodule_helper.rb'
155
- - ' app/workers/concerns/application_worker.rb'
156
- - ' ee/lib/gitlab/geo/git_ssh_proxy.rb'
157
- - ' lib/banzai/filter/repository_link_filter.rb'
158
- - ' lib/gitlab/auth/ldap/dn.rb'
159
- - ' lib/gitlab/gfm/uploads_rewriter.rb'
160
- - ' lib/gitlab/git/ref.rb'
161
- - ' lib/gitlab/project_template.rb'
162
- - ' lib/gitlab/setup_helper.rb'
163
- - ' lib/gitlab/time_tracking_formatter.rb'
164
- - ' spec/controllers/projects/artifacts_controller_spec.rb'
165
- - ' spec/lib/gitlab/gfm/uploads_rewriter_spec.rb'
166
- - ' spec/support/helpers/test_env.rb'
167
-
168
149
# Offense count: 121
169
150
Performance/MethodObjectAsBlock :
170
151
Enabled : false
@@ -398,22 +379,6 @@ Rails/WhereExists:
398
379
Style/AccessorGrouping :
399
380
Enabled : false
400
381
401
- # Offense count: 11
402
- # Cop supports --auto-correct.
403
- Style/ArrayCoercion :
404
- Exclude :
405
- - ' app/controllers/admin/ci/variables_controller.rb'
406
- - ' app/controllers/groups/variables_controller.rb'
407
- - ' app/controllers/projects/variables_controller.rb'
408
- - ' db/migrate/20190620105427_change_null_private_profile_to_false.rb'
409
- - ' db/post_migrate/20190812070645_migrate_private_profile_nulls.rb'
410
- - ' db/post_migrate/20200311130802_schedule_populate_user_highest_roles_table.rb'
411
- - ' db/post_migrate/20200805152108_migrate_null_external_diff_store_to_local_value.rb'
412
- - ' db/post_migrate/20200806173633_migrate_null_package_files_file_store_to_local_value.rb'
413
- - ' ee/app/services/geo/repository_verification_secondary_service.rb'
414
- - ' ee/lib/ee/banzai/pipeline/gfm_pipeline.rb'
415
- - ' spec/support/helpers/lfs_http_helpers.rb'
416
-
417
382
# Offense count: 188
418
383
# Cop supports --auto-correct.
419
384
# Configuration parameters: EnforcedStyle.
@@ -433,20 +398,6 @@ Style/BisectedAttrAccessor:
433
398
Style/CaseLikeIf :
434
399
Enabled : false
435
400
436
- # Offense count: 13
437
- Style/CombinableLoops :
438
- Exclude :
439
- - ' ee/db/fixtures/development/30_customizable_cycle_analytics.rb'
440
- - ' ee/lib/gitlab/audit/events/preloader.rb'
441
- - ' ee/spec/finders/snippets_finder_spec.rb'
442
- - ' ee/spec/lib/ee/gitlab/background_migration/remove_duplicate_cs_findings_spec.rb'
443
- - ' spec/features/merge_request/user_suggests_changes_on_diff_spec.rb'
444
- - ' spec/finders/packages/group_packages_finder_spec.rb'
445
- - ' spec/migrations/cleanup_optimistic_locking_nulls_pt2_fixed_spec.rb'
446
- - ' spec/migrations/cleanup_optimistic_locking_nulls_spec.rb'
447
- - ' spec/requests/api/members_spec.rb'
448
- - ' spec/support/shared_examples/features/protected_branches_access_control_ce_shared_examples.rb'
449
-
450
401
# Offense count: 5
451
402
# Cop supports --auto-correct.
452
403
Style/EachWithObject :
@@ -471,13 +422,6 @@ Style/EmptyElse:
471
422
Style/EmptyMethod :
472
423
Enabled : false
473
424
474
- # Offense count: 2
475
- # Cop supports --auto-correct.
476
- Style/ExpandPathArguments :
477
- Exclude :
478
- - ' cable/config.ru'
479
- - ' config.ru'
480
-
481
425
# Offense count: 118
482
426
# Cop supports --auto-correct.
483
427
Style/ExplicitBlockArgument :
0 commit comments