154 lines
6.3 KiB
YAML
154 lines
6.3 KiB
YAML
---
|
|
Rails/HasManyOrHasOneDependent:
|
|
# Offense count: 593
|
|
# Temporarily disabled due to too many offenses
|
|
Enabled: false
|
|
Exclude:
|
|
- 'app/models/alert_management/alert.rb'
|
|
- 'app/models/analytics/cycle_analytics/project_value_stream.rb'
|
|
- 'app/models/analytics/cycle_analytics/stage_event_hash.rb'
|
|
- 'app/models/application_setting/term.rb'
|
|
- 'app/models/bulk_import.rb'
|
|
- 'app/models/bulk_imports/entity.rb'
|
|
- 'app/models/bulk_imports/export.rb'
|
|
- 'app/models/ci/bridge.rb'
|
|
- 'app/models/ci/build.rb'
|
|
- 'app/models/ci/pipeline.rb'
|
|
- 'app/models/ci/pipeline_schedule.rb'
|
|
- 'app/models/ci/processable.rb'
|
|
- 'app/models/ci/ref.rb'
|
|
- 'app/models/ci/resource_group.rb'
|
|
- 'app/models/ci/runner.rb'
|
|
- 'app/models/ci/stage.rb'
|
|
- 'app/models/ci/trigger.rb'
|
|
- 'app/models/ci/trigger_request.rb'
|
|
- 'app/models/ci/unit_test.rb'
|
|
- 'app/models/clusters/agent.rb'
|
|
- 'app/models/clusters/applications/knative.rb'
|
|
- 'app/models/clusters/cluster.rb'
|
|
- 'app/models/clusters/project.rb'
|
|
- 'app/models/commit_status.rb'
|
|
- 'app/models/concerns/ci/metadatable.rb'
|
|
- 'app/models/concerns/integrations/has_data_fields.rb'
|
|
- 'app/models/concerns/issuable.rb'
|
|
- 'app/models/concerns/label_eventable.rb'
|
|
- 'app/models/concerns/milestone_eventable.rb'
|
|
- 'app/models/concerns/packages/debian/distribution.rb'
|
|
- 'app/models/concerns/protected_ref.rb'
|
|
- 'app/models/concerns/state_eventable.rb'
|
|
- 'app/models/concerns/timebox.rb'
|
|
- 'app/models/concerns/versioned_description.rb'
|
|
- 'app/models/concerns/with_uploads.rb'
|
|
- 'app/models/customer_relations/contact.rb'
|
|
- 'app/models/deploy_key.rb'
|
|
- 'app/models/deploy_token.rb'
|
|
- 'app/models/deployment.rb'
|
|
- 'app/models/design_management/design.rb'
|
|
- 'app/models/design_management/version.rb'
|
|
- 'app/models/environment.rb'
|
|
- 'app/models/error_tracking/error.rb'
|
|
- 'app/models/event.rb'
|
|
- 'app/models/experiment.rb'
|
|
- 'app/models/fork_network.rb'
|
|
- 'app/models/gpg_key.rb'
|
|
- 'app/models/group.rb'
|
|
- 'app/models/hooks/web_hook.rb'
|
|
- 'app/models/integration.rb'
|
|
- 'app/models/issue.rb'
|
|
- 'app/models/jira_connect_installation.rb'
|
|
- 'app/models/label.rb'
|
|
- 'app/models/lfs_object.rb'
|
|
- 'app/models/list.rb'
|
|
- 'app/models/member.rb'
|
|
- 'app/models/merge_request.rb'
|
|
- 'app/models/merge_request_context_commit.rb'
|
|
- 'app/models/milestone.rb'
|
|
- 'app/models/namespace.rb'
|
|
- 'app/models/namespaces/project_namespace.rb'
|
|
- 'app/models/note.rb'
|
|
- 'app/models/operations/feature_flag.rb'
|
|
- 'app/models/operations/feature_flags/strategy.rb'
|
|
- 'app/models/operations/feature_flags/user_list.rb'
|
|
- 'app/models/packages/debian/project_distribution.rb'
|
|
- 'app/models/packages/dependency.rb'
|
|
- 'app/models/packages/dependency_link.rb'
|
|
- 'app/models/packages/package.rb'
|
|
- 'app/models/packages/package_file.rb'
|
|
- 'app/models/pages_domain.rb'
|
|
- 'app/models/plan.rb'
|
|
- 'app/models/pool_repository.rb'
|
|
- 'app/models/project.rb'
|
|
- 'app/models/projects/topic.rb'
|
|
- 'app/models/prometheus_alert.rb'
|
|
- 'app/models/prometheus_metric.rb'
|
|
- 'app/models/release.rb'
|
|
- 'app/models/snippet.rb'
|
|
- 'app/models/terraform/state.rb'
|
|
- 'app/models/user.rb'
|
|
- 'app/models/wiki_page/meta.rb'
|
|
- 'app/models/work_items/type.rb'
|
|
- 'app/models/x509_certificate.rb'
|
|
- 'app/models/x509_issuer.rb'
|
|
- 'ee/app/models/analytics/devops_adoption/enabled_namespace.rb'
|
|
- 'ee/app/models/analytics/devops_adoption/snapshot.rb'
|
|
- 'ee/app/models/approval_merge_request_rule.rb'
|
|
- 'ee/app/models/approval_project_rule.rb'
|
|
- 'ee/app/models/boards/epic_board.rb'
|
|
- 'ee/app/models/boards/epic_list.rb'
|
|
- 'ee/app/models/compliance_management/framework.rb'
|
|
- 'ee/app/models/concerns/ee/iteration_eventable.rb'
|
|
- 'ee/app/models/concerns/ee/protected_branch.rb'
|
|
- 'ee/app/models/concerns/ee/protected_ref.rb'
|
|
- 'ee/app/models/concerns/ee/weight_eventable.rb'
|
|
- 'ee/app/models/concerns/geo/eventable.rb'
|
|
- 'ee/app/models/concerns/issue_widgets/acts_like_requirement.rb'
|
|
- 'ee/app/models/concerns/security/scan_execution_policy.rb'
|
|
- 'ee/app/models/dast/profile.rb'
|
|
- 'ee/app/models/dast_site.rb'
|
|
- 'ee/app/models/dast_site_profile.rb'
|
|
- 'ee/app/models/dast_site_validation.rb'
|
|
- 'ee/app/models/ee/alert_management/alert.rb'
|
|
- 'ee/app/models/ee/analytics/cycle_analytics/stage_event_hash.rb'
|
|
- 'ee/app/models/ee/board.rb'
|
|
- 'ee/app/models/ee/ci/build.rb'
|
|
- 'ee/app/models/ee/ci/job_artifact.rb'
|
|
- 'ee/app/models/ee/ci/pipeline.rb'
|
|
- 'ee/app/models/ee/deployment.rb'
|
|
- 'ee/app/models/ee/environment.rb'
|
|
- 'ee/app/models/ee/epic.rb'
|
|
- 'ee/app/models/ee/group.rb'
|
|
- 'ee/app/models/ee/issue.rb'
|
|
- 'ee/app/models/ee/iteration.rb'
|
|
- 'ee/app/models/ee/label.rb'
|
|
- 'ee/app/models/ee/lfs_object.rb'
|
|
- 'ee/app/models/ee/merge_request.rb'
|
|
- 'ee/app/models/ee/merge_request_diff.rb'
|
|
- 'ee/app/models/ee/milestone.rb'
|
|
- 'ee/app/models/ee/namespace.rb'
|
|
- 'ee/app/models/ee/pages_deployment.rb'
|
|
- 'ee/app/models/ee/plan.rb'
|
|
- 'ee/app/models/ee/project.rb'
|
|
- 'ee/app/models/ee/upload.rb'
|
|
- 'ee/app/models/ee/user.rb'
|
|
- 'ee/app/models/ee/vulnerability.rb'
|
|
- 'ee/app/models/elastic/reindexing_subtask.rb'
|
|
- 'ee/app/models/elastic/reindexing_task.rb'
|
|
- 'ee/app/models/geo/event.rb'
|
|
- 'ee/app/models/geo_node.rb'
|
|
- 'ee/app/models/incident_management/escalation_policy.rb'
|
|
- 'ee/app/models/incident_management/oncall_participant.rb'
|
|
- 'ee/app/models/incident_management/oncall_rotation.rb'
|
|
- 'ee/app/models/incident_management/oncall_schedule.rb'
|
|
- 'ee/app/models/integrations/gitlab_slack_application.rb'
|
|
- 'ee/app/models/iterations/cadence.rb'
|
|
- 'ee/app/models/protected_environment.rb'
|
|
- 'ee/app/models/protected_environments/approval_rule.rb'
|
|
- 'ee/app/models/push_rule.rb'
|
|
- 'ee/app/models/saml_provider.rb'
|
|
- 'ee/app/models/security/finding.rb'
|
|
- 'ee/app/models/security/scan.rb'
|
|
- 'ee/app/models/security/training_provider.rb'
|
|
- 'ee/app/models/vulnerabilities/finding.rb'
|
|
- 'ee/app/models/vulnerabilities/identifier.rb'
|
|
- 'ee/app/models/vulnerabilities/remediation.rb'
|
|
- 'ee/app/models/vulnerabilities/scanner.rb'
|