196 lines
12 KiB
YAML
196 lines
12 KiB
YAML
|
---
|
||
|
Lint/MissingCopEnableDirective:
|
||
|
# Offense count: 199
|
||
|
# Temporarily disabled due to too many offenses
|
||
|
Enabled: false
|
||
|
Exclude:
|
||
|
- 'app/controllers/admin/users_controller.rb'
|
||
|
- 'app/controllers/projects/forks_controller.rb'
|
||
|
- 'app/graphql/resolvers/group_issues_resolver.rb'
|
||
|
- 'app/graphql/resolvers/issues_resolver.rb'
|
||
|
- 'app/graphql/resolvers/project_members_resolver.rb'
|
||
|
- 'app/graphql/resolvers/project_milestones_resolver.rb'
|
||
|
- 'app/graphql/resolvers/projects/snippets_resolver.rb'
|
||
|
- 'app/graphql/resolvers/snippets_resolver.rb'
|
||
|
- 'app/graphql/resolvers/users/snippets_resolver.rb'
|
||
|
- 'app/graphql/types/access_level_type.rb'
|
||
|
- 'app/graphql/types/base_enum.rb'
|
||
|
- 'app/graphql/types/boards/board_issue_input_base_type.rb'
|
||
|
- 'app/graphql/types/ci/analytics_type.rb'
|
||
|
- 'app/graphql/types/ci/build_need_type.rb'
|
||
|
- 'app/graphql/types/ci/config/config_type.rb'
|
||
|
- 'app/graphql/types/ci/config/group_type.rb'
|
||
|
- 'app/graphql/types/ci/config/job_restriction_type.rb'
|
||
|
- 'app/graphql/types/ci/config/job_type.rb'
|
||
|
- 'app/graphql/types/ci/config/need_type.rb'
|
||
|
- 'app/graphql/types/ci/config/stage_type.rb'
|
||
|
- 'app/graphql/types/ci/group_type.rb'
|
||
|
- 'app/graphql/types/ci/job_artifact_type.rb'
|
||
|
- 'app/graphql/types/ci/job_type.rb'
|
||
|
- 'app/graphql/types/ci/pipeline_message_type.rb'
|
||
|
- 'app/graphql/types/ci/runner_architecture_type.rb'
|
||
|
- 'app/graphql/types/ci/runner_platform_type.rb'
|
||
|
- 'app/graphql/types/ci/runner_setup_type.rb'
|
||
|
- 'app/graphql/types/ci/runner_web_url_edge.rb'
|
||
|
- 'app/graphql/types/ci/status_action_type.rb'
|
||
|
- 'app/graphql/types/ci/template_type.rb'
|
||
|
- 'app/graphql/types/ci_configuration/sast/analyzers_entity_type.rb'
|
||
|
- 'app/graphql/types/ci_configuration/sast/entity_type.rb'
|
||
|
- 'app/graphql/types/ci_configuration/sast/options_entity_type.rb'
|
||
|
- 'app/graphql/types/ci_configuration/sast/type.rb'
|
||
|
- 'app/graphql/types/countable_connection_type.rb'
|
||
|
- 'app/graphql/types/design_management_type.rb'
|
||
|
- 'app/graphql/types/issue_connection_type.rb'
|
||
|
- 'app/graphql/types/merge_request_connection_type.rb'
|
||
|
- 'app/graphql/types/packages/composer/json_type.rb'
|
||
|
- 'app/graphql/types/packages/helm/dependency_type.rb'
|
||
|
- 'app/graphql/types/packages/helm/maintainer_type.rb'
|
||
|
- 'app/graphql/types/packages/helm/metadata_type.rb'
|
||
|
- 'app/graphql/types/packages/package_dependency_type.rb'
|
||
|
- 'app/graphql/types/repository/blob_type.rb'
|
||
|
- 'app/graphql/types/snippets/blob_connection_type.rb'
|
||
|
- 'app/graphql/types/user_preferences_type.rb'
|
||
|
- 'app/graphql/types/user_status_type.rb'
|
||
|
- 'app/models/commit_collection.rb'
|
||
|
- 'app/models/concerns/batch_destroy_dependent_associations.rb'
|
||
|
- 'app/models/concerns/deployment_platform.rb'
|
||
|
- 'app/models/token_with_iv.rb'
|
||
|
- 'app/models/wiki_page.rb'
|
||
|
- 'app/services/ci/queue/build_queue_service.rb'
|
||
|
- 'app/services/commits/change_service.rb'
|
||
|
- 'app/services/labels/promote_service.rb'
|
||
|
- 'app/services/notification_service.rb'
|
||
|
- 'app/services/projects/container_repository/third_party/delete_tags_service.rb'
|
||
|
- 'app/services/search/global_service.rb'
|
||
|
- 'config/initializers_before_autoloader/003_gc_compact.rb'
|
||
|
- 'danger/feature_flag/Dangerfile'
|
||
|
- 'danger/pajamas/Dangerfile'
|
||
|
- 'danger/z_metadata/Dangerfile'
|
||
|
- 'db/migrate/20210807101621_add_timezone_to_dast_profile_schedules.rb'
|
||
|
- 'db/migrate/20210816095826_add_unique_index_on_dast_profile_to_dast_profile_schedules.rb'
|
||
|
- 'db/migrate/20210818061156_remove_project_profile_compound_index_from_dast_profile_schedules.rb'
|
||
|
- 'db/migrate/20210818115613_add_index_project_id_on_dast_profile_schedule.rb'
|
||
|
- 'db/migrate/20211013014228_add_content_validation_endpoint_to_application_settings.rb'
|
||
|
- 'db/post_migrate/20210825182303_remove_duplicate_dast_site_tokens_with_same_token.rb'
|
||
|
- 'ee/app/controllers/ee/admin/dashboard_controller.rb'
|
||
|
- 'ee/app/controllers/ee/admin/groups_controller.rb'
|
||
|
- 'ee/app/controllers/ee/admin/users_controller.rb'
|
||
|
- 'ee/app/controllers/ee/projects/settings/ci_cd_controller.rb'
|
||
|
- 'ee/app/graphql/resolvers/vulnerabilities_base_resolver.rb'
|
||
|
- 'ee/app/graphql/types/admin/cloud_licenses/current_license_type.rb'
|
||
|
- 'ee/app/graphql/types/admin/cloud_licenses/license_history_entry_type.rb'
|
||
|
- 'ee/app/graphql/types/admin/cloud_licenses/subscription_future_entry_type.rb'
|
||
|
- 'ee/app/graphql/types/analytics/devops_adoption/enabled_namespace_type.rb'
|
||
|
- 'ee/app/graphql/types/analytics/devops_adoption/snapshot_type.rb'
|
||
|
- 'ee/app/graphql/types/burnup_chart_daily_totals_type.rb'
|
||
|
- 'ee/app/graphql/types/ci/code_coverage_activity_type.rb'
|
||
|
- 'ee/app/graphql/types/ci/code_coverage_summary_type.rb'
|
||
|
- 'ee/app/graphql/types/ci/code_quality_degradation_type.rb'
|
||
|
- 'ee/app/graphql/types/ci/minutes/namespace_monthly_usage_type.rb'
|
||
|
- 'ee/app/graphql/types/ci/minutes/project_monthly_usage_type.rb'
|
||
|
- 'ee/app/graphql/types/compliance_management/compliance_framework_type.rb'
|
||
|
- 'ee/app/graphql/types/dast/profile_cadence_type.rb'
|
||
|
- 'ee/app/graphql/types/geo/group_wiki_repository_registry_type.rb'
|
||
|
- 'ee/app/graphql/types/geo/job_artifact_registry_type.rb'
|
||
|
- 'ee/app/graphql/types/geo/lfs_object_registry_type.rb'
|
||
|
- 'ee/app/graphql/types/geo/merge_request_diff_registry_type.rb'
|
||
|
- 'ee/app/graphql/types/geo/package_file_registry_type.rb'
|
||
|
- 'ee/app/graphql/types/geo/pages_deployment_registry_type.rb'
|
||
|
- 'ee/app/graphql/types/geo/pipeline_artifact_registry_type.rb'
|
||
|
- 'ee/app/graphql/types/geo/snippet_repository_registry_type.rb'
|
||
|
- 'ee/app/graphql/types/geo/terraform_state_version_registry_type.rb'
|
||
|
- 'ee/app/graphql/types/geo/upload_registry_type.rb'
|
||
|
- 'ee/app/graphql/types/network_policy_type.rb'
|
||
|
- 'ee/app/graphql/types/scan_type.rb'
|
||
|
- 'ee/app/graphql/types/scanned_resource_type.rb'
|
||
|
- 'ee/app/graphql/types/security_report_summary_section_type.rb'
|
||
|
- 'ee/app/graphql/types/security_report_summary_type.rb'
|
||
|
- 'ee/app/graphql/types/security_scanners.rb'
|
||
|
- 'ee/app/graphql/types/time_report_stats_type.rb'
|
||
|
- 'ee/app/graphql/types/timebox_metrics_type.rb'
|
||
|
- 'ee/app/graphql/types/timebox_report_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerabilities_count_by_day_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/base_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/boolean_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/code_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/commit_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/diff_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/file_location_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/int_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/list_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/markdown_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/module_location_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/table_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/text_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_details/url_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_location/cluster_image_scanning_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_location/container_scanning_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_location/coverage_fuzzing_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_location/dast_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_location/dependency_scanning_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_location/generic_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_location/sast_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_location/secret_detection_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerability_severities_count_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerable_dependency_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerable_kubernetes_resource_type.rb'
|
||
|
- 'ee/app/graphql/types/vulnerable_package_type.rb'
|
||
|
- 'ee/app/workers/groups/export_memberships_worker.rb'
|
||
|
- 'ee/app/workers/update_max_seats_used_for_gitlab_com_subscriptions_worker.rb'
|
||
|
- 'ee/lib/api/ldap_group_links.rb'
|
||
|
- 'ee/lib/api/scim.rb'
|
||
|
- 'ee/lib/ee/gitlab/background_migration/migrate_approver_to_approval_rules.rb'
|
||
|
- 'ee/lib/ee/gitlab/usage_data.rb'
|
||
|
- 'ee/lib/elastic/latest/git_class_proxy.rb'
|
||
|
- 'ee/lib/gitlab/spdx/license.rb'
|
||
|
- 'lib/gitlab/auth/ldap/dn.rb'
|
||
|
- 'lib/gitlab/background_migration/backfill_issue_search_data.rb'
|
||
|
- 'lib/gitlab/background_migration/backfill_iteration_cadence_id_for_boards.rb'
|
||
|
- 'lib/gitlab/background_migration/backfill_namespace_traversal_ids_children.rb'
|
||
|
- 'lib/gitlab/background_migration/backfill_namespace_traversal_ids_roots.rb'
|
||
|
- 'lib/gitlab/background_migration/copy_ci_builds_columns_to_security_scans.rb'
|
||
|
- 'lib/gitlab/background_migration/drop_invalid_vulnerabilities.rb'
|
||
|
- 'lib/gitlab/background_migration/fix_incorrect_max_seats_used.rb'
|
||
|
- 'lib/gitlab/background_migration/mailers/unconfirm_mailer.rb'
|
||
|
- 'lib/gitlab/background_migration/migrate_approver_to_approval_rules.rb'
|
||
|
- 'lib/gitlab/background_migration/migrate_approver_to_approval_rules_check_progress.rb'
|
||
|
- 'lib/gitlab/background_migration/migrate_approver_to_approval_rules_in_batch.rb'
|
||
|
- 'lib/gitlab/background_migration/migrate_job_artifact_registry_to_ssf.rb'
|
||
|
- 'lib/gitlab/background_migration/migrate_stage_status.rb'
|
||
|
- 'lib/gitlab/background_migration/migrate_u2f_webauthn.rb'
|
||
|
- 'lib/gitlab/background_migration/populate_latest_pipeline_ids.rb'
|
||
|
- 'lib/gitlab/background_migration/populate_resolved_on_default_branch_column.rb'
|
||
|
- 'lib/gitlab/background_migration/populate_test_reports_issue_id.rb'
|
||
|
- 'lib/gitlab/background_migration/populate_uuids_for_security_findings.rb'
|
||
|
- 'lib/gitlab/background_migration/recalculate_vulnerabilities_occurrences_uuid.rb'
|
||
|
- 'lib/gitlab/background_migration/recalculate_vulnerability_finding_signatures_for_findings.rb'
|
||
|
- 'lib/gitlab/background_migration/remove_duplicate_vulnerabilities_findings.rb'
|
||
|
- 'lib/gitlab/background_migration/update_jira_tracker_data_deployment_type_based_on_url.rb'
|
||
|
- 'lib/gitlab/background_migration/update_users_where_two_factor_auth_required_from_group.rb'
|
||
|
- 'lib/gitlab/ci/reports/test_suite_summary.rb'
|
||
|
- 'lib/gitlab/data_builder/push.rb'
|
||
|
- 'lib/gitlab/database/load_balancing/connection_proxy.rb'
|
||
|
- 'lib/gitlab/database/migration_helpers.rb'
|
||
|
- 'lib/gitlab/database/postgresql_adapter/type_map_cache.rb'
|
||
|
- 'lib/gitlab/github_import/client.rb'
|
||
|
- 'lib/gitlab/github_import/importer/diff_note_importer.rb'
|
||
|
- 'lib/gitlab/gon_helper.rb'
|
||
|
- 'lib/gitlab/graphql/pagination/keyset/generic_keyset_pagination.rb'
|
||
|
- 'lib/gitlab/graphql/pagination/keyset/last_items.rb'
|
||
|
- 'lib/gitlab/graphql/standard_graphql_error.rb'
|
||
|
- 'lib/gitlab/metrics/methods.rb'
|
||
|
- 'lib/gitlab/patch/action_cable_redis_listener.rb'
|
||
|
- 'lib/gitlab/patch/prependable.rb'
|
||
|
- 'lib/gitlab/project_search_results.rb'
|
||
|
- 'lib/gitlab/task_helpers.rb'
|
||
|
- 'lib/gitlab/testing/request_blocker_middleware.rb'
|
||
|
- 'lib/gitlab/testing/request_inspector_middleware.rb'
|
||
|
- 'lib/gitlab/testing/robots_blocker_middleware.rb'
|
||
|
- 'qa/qa/scenario/test/integration/registry_with_cdn.rb'
|
||
|
- 'spec/benchmarks/banzai_benchmark.rb'
|
||
|
- 'spec/lib/gitlab/sidekiq_middleware/size_limiter/server_spec.rb'
|
||
|
- 'spec/support/capybara.rb'
|
||
|
- 'spec/support/cycle_analytics_helpers/test_generation.rb'
|
||
|
- 'spec/support/google_api/cloud_platform_helpers.rb'
|
||
|
- 'tooling/danger/product_intelligence.rb'
|