diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-15 06:10:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-15 06:10:54 +0300 |
commit | 5c599896773669c8671fd14f79b96d9cd50ccab8 (patch) | |
tree | 068ea44f71a34d897e47a0c834236d58ab028a67 /.rubocop_todo/style | |
parent | 03bea06527fd8cc8eb65af0b20b6019fc74721d9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop_todo/style')
-rw-r--r-- | .rubocop_todo/style/numbered_parameters.yml | 84 | ||||
-rw-r--r-- | .rubocop_todo/style/redundant_regexp_escape.yml | 9 | ||||
-rw-r--r-- | .rubocop_todo/style/zero_length_predicate.yml | 6 |
3 files changed, 97 insertions, 2 deletions
diff --git a/.rubocop_todo/style/numbered_parameters.yml b/.rubocop_todo/style/numbered_parameters.yml new file mode 100644 index 00000000000..3251cc0bcad --- /dev/null +++ b/.rubocop_todo/style/numbered_parameters.yml @@ -0,0 +1,84 @@ +--- +Style/NumberedParameters: + Details: grace period + Exclude: + - 'app/controllers/concerns/web_hooks/hook_actions.rb' + - 'app/controllers/graphql_controller.rb' + - 'app/controllers/import/bulk_imports_controller.rb' + - 'app/graphql/types/base_field.rb' + - 'app/graphql/types/current_user_todos.rb' + - 'app/graphql/types/design_management/design_fields.rb' + - 'app/helpers/colors_helper.rb' + - 'app/helpers/hooks_helper.rb' + - 'app/models/active_session.rb' + - 'app/models/bulk_imports/entity.rb' + - 'app/models/concerns/integrations/reset_secret_fields.rb' + - 'app/models/hooks/web_hook.rb' + - 'app/models/integration.rb' + - 'app/models/integrations/datadog.rb' + - 'app/models/integrations/youtrack.rb' + - 'app/models/project.rb' + - 'app/services/import/gitlab_projects/create_project_service.rb' + - 'app/services/merge_requests/update_service.rb' + - 'app/services/packages/rpm/parse_package_service.rb' + - 'app/services/packages/rpm/repository_metadata/update_xml_service.rb' + - 'app/services/web_hooks/log_execution_service.rb' + - 'ee/app/models/ee/project.rb' + - 'ee/app/models/security/finding.rb' + - 'ee/app/models/slack_integration.rb' + - 'ee/app/models/vulnerabilities/feedback.rb' + - 'ee/app/services/security/ingestion/tasks/hooks_execution.rb' + - 'ee/app/services/security/ingestion/tasks/ingest_remediations.rb' + - 'ee/app/services/security/store_findings_service.rb' + - 'ee/lib/ee/gitlab/quick_actions/users_extractor.rb' + - 'ee/spec/lib/gitlab/quick_actions/users_extractor_spec.rb' + - 'ee/spec/models/vulnerabilities/statistic_spec.rb' + - 'ee/spec/services/quick_actions/interpret_service_spec.rb' + - 'ee/spec/services/security/ingestion/tasks/ingest_remediations_spec.rb' + - 'lib/api/entities/hook.rb' + - 'lib/api/helpers/web_hooks_helpers.rb' + - 'lib/api/hooks/url_variables.rb' + - 'lib/error_tracking/sentry_client/issue.rb' + - 'lib/error_tracking/sentry_client/projects.rb' + - 'lib/error_tracking/sentry_client/repo.rb' + - 'lib/feature.rb' + - 'lib/gitlab/color.rb' + - 'lib/gitlab/error_tracking/error_repository/open_api_strategy.rb' + - 'lib/gitlab/github_import/representation/issue.rb' + - 'lib/gitlab/pagination/keyset/order.rb' + - 'lib/gitlab/quick_actions/users_extractor.rb' + - 'lib/gitlab/safe_request_loader.rb' + - 'lib/gitlab/usage_data_counters/ci_template_unique_counter.rb' + - 'lib/gitlab/zentao/client.rb' + - 'lib/gitlab_edition.rb' + - 'lib/tasks/gitlab/usage_data.rake' + - 'rubocop/check_graceful_task.rb' + - 'rubocop/cop/gitlab/namespaced_class.rb' + - 'rubocop/cop/graphql/enum_values.rb' + - 'rubocop/formatter/graceful_formatter.rb' + - 'spec/graphql/resolvers/concerns/resolves_ids_spec.rb' + - 'spec/graphql/types/board_list_type_spec.rb' + - 'spec/graphql/types/current_user_todos_type_spec.rb' + - 'spec/lib/bulk_imports/groups/stage_spec.rb' + - 'spec/lib/bulk_imports/projects/stage_spec.rb' + - 'spec/lib/gitlab/import_export/json/streaming_serializer_spec.rb' + - 'spec/lib/gitlab/quick_actions/users_extractor_spec.rb' + - 'spec/lib/gitlab/web_hooks/recursion_detection_spec.rb' + - 'spec/lib/gitlab/zentao/client_spec.rb' + - 'spec/models/bulk_imports/entity_spec.rb' + - 'spec/models/hooks/web_hook_spec.rb' + - 'spec/models/integration_spec.rb' + - 'spec/requests/api/graphql/mutations/issues/set_crm_contacts_spec.rb' + - 'spec/requests/api/graphql/project/merge_request_spec.rb' + - 'spec/requests/api/groups_spec.rb' + - 'spec/requests/recursive_webhook_detection_spec.rb' + - 'spec/rubocop/cop/file_decompression_spec.rb' + - 'spec/services/packages/rpm/repository_metadata/build_filelist_xml_service_spec.rb' + - 'spec/services/web_hook_service_spec.rb' + - 'spec/support/helpers/graphql_helpers.rb' + - 'spec/support/matchers/exceed_query_limit.rb' + - 'spec/support/shared_contexts/features/integrations/integrations_shared_context.rb' + - 'spec/support/shared_contexts/lib/sbom/package_url_shared_contexts.rb' + - 'spec/support/shared_examples/integrations/integration_settings_form.rb' + - 'spec/support/shared_examples/requests/api/hooks_shared_examples.rb' + - 'spec/support_specs/helpers/active_record/query_recorder_spec.rb' diff --git a/.rubocop_todo/style/redundant_regexp_escape.yml b/.rubocop_todo/style/redundant_regexp_escape.yml index 22608a8e1f5..9a54b73b64e 100644 --- a/.rubocop_todo/style/redundant_regexp_escape.yml +++ b/.rubocop_todo/style/redundant_regexp_escape.yml @@ -5,6 +5,7 @@ Style/RedundantRegexpEscape: - 'app/controllers/help_controller.rb' - 'app/controllers/import/bitbucket_server_controller.rb' - 'app/helpers/emails_helper.rb' + - 'app/helpers/import_helper.rb' - 'app/helpers/sidekiq_helper.rb' - 'app/models/commit_status.rb' - 'app/models/concerns/referable.rb' @@ -16,17 +17,20 @@ Style/RedundantRegexpEscape: - 'app/models/label.rb' - 'app/models/license_template.rb' - 'app/models/milestone.rb' - - 'app/models/namespace.rb' - 'app/models/operations/feature_flag.rb' - 'app/models/releases/link.rb' - 'app/models/snippet.rb' - 'app/services/metrics/dashboard/grafana_metric_embed_service.rb' - 'app/uploaders/file_uploader.rb' + - 'config/routes/admin.rb' + - 'config/routes/group.rb' - 'config/routes/project.rb' + - 'config/routes/snippets.rb' - 'config/routes/uploads.rb' - 'ee/app/models/ee/epic.rb' - 'ee/app/models/ee/iteration.rb' - 'ee/app/models/ee/vulnerability.rb' + - 'ee/config/routes/admin.rb' - 'ee/lib/ee/gitlab/path_regex.rb' - 'ee/lib/elastic/latest/merge_request_class_proxy.rb' - 'ee/lib/gitlab/geo/git_ssh_proxy.rb' @@ -46,6 +50,7 @@ Style/RedundantRegexpEscape: - 'lib/bulk_imports/common/pipelines/uploads_pipeline.rb' - 'lib/csv_builder.rb' - 'lib/gitlab/background_migration/backfill_integrations_enable_ssl_verification.rb' + - 'lib/gitlab/background_migration/update_jira_tracker_data_deployment_type_based_on_url.rb' - 'lib/gitlab/ci/pipeline/expression/lexeme/not_matches.rb' - 'lib/gitlab/ci/pipeline/expression/lexeme/pattern.rb' - 'lib/gitlab/diff/suggestions_parser.rb' @@ -63,6 +68,7 @@ Style/RedundantRegexpEscape: - 'lib/gitlab/private_commit_email.rb' - 'lib/gitlab/push_options.rb' - 'lib/gitlab/quick_actions/extractor.rb' + - 'lib/gitlab/quick_actions/timeline_text_and_date_time_separator.rb' - 'lib/gitlab/regex.rb' - 'lib/gitlab/search/abuse_detection.rb' - 'lib/gitlab/task_helpers.rb' @@ -73,7 +79,6 @@ Style/RedundantRegexpEscape: - 'lib/product_analytics/tracker.rb' - 'lib/tasks/gettext.rake' - 'lib/tasks/gitlab/info.rake' - - 'qa/qa/specs/features/ee/browser_ui/13_secure/license_compliance_spec.rb' - 'qa/spec/runtime/key/ecdsa_spec.rb' - 'qa/spec/runtime/key/ed25519_spec.rb' - 'qa/spec/runtime/key/rsa_spec.rb' diff --git a/.rubocop_todo/style/zero_length_predicate.yml b/.rubocop_todo/style/zero_length_predicate.yml new file mode 100644 index 00000000000..f518a5c6f2b --- /dev/null +++ b/.rubocop_todo/style/zero_length_predicate.yml @@ -0,0 +1,6 @@ +--- +# Cop supports --autocorrect. +Style/ZeroLengthPredicate: + Details: grace period + Exclude: + - 'spec/requests/api/graphql/mutations/admin/sidekiq_queues/delete_jobs_spec.rb' |