Commit 0e177b2a authored by Peter Leitzen's avatar Peter Leitzen

Merge branch '354328-rubocop-todo-move-Style/SpecialGlobalVars' into 'master'

Move Style/SpecialGlobalVars into separate TODO file

See merge request gitlab-org/gitlab!83725
parents a0ebd5ca 70a9cd70
......@@ -603,13 +603,6 @@ Style/SingleArgumentDig:
Style/SoleNestedConditional:
Enabled: false
# Offense count: 120
# Cop supports --auto-correct.
# Configuration parameters: .
# SupportedStyles: use_perl_names, use_english_names
Style/SpecialGlobalVars:
EnforcedStyle: use_perl_names
# Offense count: 562
# Cop supports --auto-correct.
Style/StringConcatenation:
......
---
# Cop supports --auto-correct.
Style/SpecialGlobalVars:
Exclude:
- 'app/controllers/help_controller.rb'
- 'app/models/application_setting_implementation.rb'
- 'app/services/prometheus/proxy_variable_substitution_service.rb'
- 'ee/bin/geo_log_cursor'
- 'ee/lib/ee/banzai/filter/references/epic_reference_filter.rb'
- 'ee/lib/ee/banzai/filter/references/iteration_reference_filter.rb'
- 'ee/lib/ee/banzai/filter/references/vulnerability_reference_filter.rb'
- 'lib/backup/database.rb'
- 'lib/banzai/filter/blockquote_fence_filter.rb'
- 'lib/banzai/filter/commit_trailers_filter.rb'
- 'lib/banzai/filter/front_matter_filter.rb'
- 'lib/banzai/filter/inline_metrics_redactor_filter.rb'
- 'lib/banzai/filter/references/abstract_reference_filter.rb'
- 'lib/banzai/filter/references/commit_range_reference_filter.rb'
- 'lib/banzai/filter/references/commit_reference_filter.rb'
- 'lib/banzai/filter/references/external_issue_reference_filter.rb'
- 'lib/banzai/filter/references/label_reference_filter.rb'
- 'lib/banzai/filter/references/milestone_reference_filter.rb'
- 'lib/banzai/filter/references/project_reference_filter.rb'
- 'lib/banzai/filter/references/reference_cache.rb'
- 'lib/banzai/filter/references/user_reference_filter.rb'
- 'lib/banzai/filter/sanitization_filter.rb'
- 'lib/extracts_ref.rb'
- 'lib/gitlab/dependency_linker/godeps_json_linker.rb'
- 'lib/gitlab/gfm/uploads_rewriter.rb'
- 'lib/gitlab/git/gitmodules_parser.rb'
- 'lib/gitlab/graphql/queries.rb'
- 'lib/gitlab/hook_data/base_builder.rb'
- 'lib/gitlab/log_timestamp_formatter.rb'
- 'lib/gitlab/puma_logging/json_formatter.rb'
- 'lib/gitlab/quick_actions/extractor.rb'
- 'lib/gitlab/runtime.rb'
- 'lib/gitlab/string_placeholder_replacer.rb'
- 'lib/prometheus/pid_provider.rb'
- 'lib/tasks/lint.rake'
- 'qa/chemlab-library-gitlab.gemspec'
- 'qa/qa/git/repository.rb'
- 'qa/qa/service/cluster_provider/gcloud.rb'
- 'qa/qa/support/wait_for_requests.rb'
- 'scripts/api/cancel_pipeline.rb'
- 'scripts/api/download_job_artifact.rb'
- 'scripts/api/get_job_id.rb'
- 'scripts/changed-feature-flags'
- 'scripts/failed_tests.rb'
- 'scripts/perf/query_limiting_report.rb'
- 'scripts/pipeline_test_report_builder.rb'
- 'scripts/rubocop-max-files-in-cache-check'
- 'scripts/setup/find-jh-branch.rb'
- 'scripts/static-analysis'
- 'scripts/trigger-build.rb'
- 'spec/fast_spec_helper.rb'
- 'spec/rack_servers/puma_spec.rb'
- 'spec/spec_helper.rb'
- 'spec/support/generate-seed-repo-rb'
- 'spec/support/helpers/test_env.rb'
- 'spec/support/prepare-gitlab-git-test-for-commit'
# frozen_string_literal: true
# $" is $LOADED_FEATURES, but RuboCop didn't like it
if $".include?(File.expand_path('spec_helper.rb', __dir__))
# There's no need to load anything here if spec_helper is already loaded
# because spec_helper is more extensive than fast_spec_helper
......
# frozen_string_literal: true
# $" is $LOADED_FEATURES, but RuboCop didn't like it
if $".include?(File.expand_path('fast_spec_helper.rb', __dir__))
warn 'Detected fast_spec_helper is loaded first than spec_helper.'
warn 'If running test files using both spec_helper and fast_spec_helper,'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment