--- # 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'