diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 37c5c2ed238996740abe996936d3e718c345b5c8..e092119a2e1f0859d8b2e8ef1ce6d40526bfdc38 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -241,13 +241,6 @@ Style/KeywordParametersOrder: Style/Lambda: Enabled: false -# Offense count: 35 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, MinBodyLength. -# SupportedStyles: skip_modifier_ifs, always -Style/Next: - Enabled: false - # Offense count: 101 # Cop supports --auto-correct. # Configuration parameters: EnforcedOctalStyle. diff --git a/.rubocop_todo/style/next.yml b/.rubocop_todo/style/next.yml new file mode 100644 index 0000000000000000000000000000000000000000..e1f9b927db6a63d4368b923e1c29669b5e3d4310 --- /dev/null +++ b/.rubocop_todo/style/next.yml @@ -0,0 +1,46 @@ +--- +# Cop supports --auto-correct. +Style/Next: + # Offense count: 41 + # Temporarily disabled due to too many offenses + Enabled: false + Exclude: + - 'app/finders/projects/serverless/functions_finder.rb' + - 'app/models/preloaders/environments/deployment_preloader.rb' + - 'app/models/route.rb' + - 'app/services/authorized_project_update/find_records_due_for_refresh_service.rb' + - 'app/validators/nested_attributes_duplicates_validator.rb' + - 'config/initializers/01_secret_token.rb' + - 'config/initializers/sidekiq_cluster.rb' + - 'ee/app/controllers/groups/analytics/cycle_analytics/value_streams_controller.rb' + - 'ee/app/services/app_sec/dast/profiles/create_associations_service.rb' + - 'ee/app/services/elastic/cluster_reindexing_service.rb' + - 'ee/app/services/gitlab_subscriptions/fetch_purchase_eligible_namespaces_service.rb' + - 'ee/app/services/security/auto_fix_service.rb' + - 'ee/db/fixtures/development/20_vulnerabilities.rb' + - 'ee/lib/ee/audit/protected_branches_changes_auditor.rb' + - 'ee/lib/gitlab/elastic/search_results.rb' + - 'ee/lib/system_check/geo/authorized_keys_check.rb' + - 'lib/backup/manager.rb' + - 'lib/banzai/filter/external_link_filter.rb' + - 'lib/banzai/filter/footnote_filter.rb' + - 'lib/banzai/filter/kroki_filter.rb' + - 'lib/banzai/filter/math_filter.rb' + - 'lib/banzai/filter/plantuml_filter.rb' + - 'lib/banzai/filter/table_of_contents_filter.rb' + - 'lib/gitlab/background_migration/encrypt_static_object_token.rb' + - 'lib/gitlab/database.rb' + - 'lib/gitlab/fogbugz_import/importer.rb' + - 'lib/gitlab/gitaly_client/repository_service.rb' + - 'lib/gitlab/import_export/attributes_permitter.rb' + - 'lib/gitlab/import_export/base/relation_object_saver.rb' + - 'lib/gitlab/metrics/samplers/base_sampler.rb' + - 'lib/gitlab/pagination/keyset/in_operator_optimization/strategies/record_loader_strategy.rb' + - 'lib/gitlab/reference_extractor.rb' + - 'lib/gitlab/tree_summary.rb' + - 'lib/tasks/gitlab/assets.rake' + - 'lib/tasks/gitlab/db/validate_config.rake' + - 'rubocop/cop/static_translation_definition.rb' + - 'scripts/perf/query_limiting_report.rb' + - 'spec/lib/gitlab/import_export/import_test_coverage_spec.rb' + - 'spec/presenters/packages/npm/package_presenter_spec.rb'