62 lines
2.9 KiB
YAML
62 lines
2.9 KiB
YAML
|
---
|
||
|
# Cop supports --auto-correct.
|
||
|
Style/CaseLikeIf:
|
||
|
# Offense count: 60
|
||
|
# Temporarily disabled due to too many offenses
|
||
|
Enabled: false
|
||
|
Exclude:
|
||
|
- 'app/controllers/concerns/issuable_actions.rb'
|
||
|
- 'app/controllers/groups/dependency_proxy/application_controller.rb'
|
||
|
- 'app/controllers/projects/labels_controller.rb'
|
||
|
- 'app/graphql/types/ci/job_need_union.rb'
|
||
|
- 'app/helpers/avatars_helper.rb'
|
||
|
- 'app/helpers/broadcast_messages_helper.rb'
|
||
|
- 'app/helpers/issues_helper.rb'
|
||
|
- 'app/helpers/routing/pseudonymization_helper.rb'
|
||
|
- 'app/models/integrations/jira.rb'
|
||
|
- 'app/models/members/member_task.rb'
|
||
|
- 'app/models/namespace.rb'
|
||
|
- 'app/models/packages/go/module_version.rb'
|
||
|
- 'app/serializers/group_child_serializer.rb'
|
||
|
- 'app/services/google_cloud/generate_pipeline_service.rb'
|
||
|
- 'app/services/issuable/bulk_update_service.rb'
|
||
|
- 'app/services/todo_service.rb'
|
||
|
- 'ee/app/controllers/concerns/credentials_inventory_actions.rb'
|
||
|
- 'ee/app/finders/ee/notes_finder.rb'
|
||
|
- 'ee/app/helpers/ee/branches_helper.rb'
|
||
|
- 'ee/app/services/epics/tree_reorder_service.rb'
|
||
|
- 'ee/app/services/merge_request_approval_settings/update_service.rb'
|
||
|
- 'ee/lib/gitlab/alert_management/alert_payload_field_extractor.rb'
|
||
|
- 'ee/spec/config/metrics/every_metric_definition_spec.rb'
|
||
|
- 'ee/spec/features/boards/user_adds_lists_to_board_spec.rb'
|
||
|
- 'ee/spec/features/issues/user_bulk_edits_issues_spec.rb'
|
||
|
- 'ee/spec/features/projects/custom_projects_template_spec.rb'
|
||
|
- 'ee/spec/support/matchers/ee/epic_aggregate_matchers.rb'
|
||
|
- 'lib/api/helpers/label_helpers.rb'
|
||
|
- 'lib/gitlab/ci/ansi2html.rb'
|
||
|
- 'lib/gitlab/ci/ansi2json/converter.rb'
|
||
|
- 'lib/gitlab/ci/build/image.rb'
|
||
|
- 'lib/gitlab/identifier.rb'
|
||
|
- 'lib/gitlab/issues/rebalancing/state.rb'
|
||
|
- 'lib/gitlab/pagination/gitaly_keyset_pager.rb'
|
||
|
- 'lib/gitlab/utils.rb'
|
||
|
- 'lib/gitlab/utils/strong_memoize.rb'
|
||
|
- 'qa/qa/git/repository.rb'
|
||
|
- 'qa/qa/scenario/bootable.rb'
|
||
|
- 'rubocop/cop/gitlab/keys_first_and_values_first.rb'
|
||
|
- 'spec/features/boards/user_adds_lists_to_board_spec.rb'
|
||
|
- 'spec/lib/gitlab/auth/auth_finders_spec.rb'
|
||
|
- 'spec/lib/gitlab/database/load_balancing_spec.rb'
|
||
|
- 'spec/lib/omni_auth/strategies/jwt_spec.rb'
|
||
|
- 'spec/models/concerns/sha_attribute_spec.rb'
|
||
|
- 'spec/models/preloaders/labels_preloader_spec.rb'
|
||
|
- 'spec/requests/api/rubygem_packages_spec.rb'
|
||
|
- 'spec/requests/api/terraform/modules/v1/packages_spec.rb'
|
||
|
- 'spec/services/resource_events/change_state_service_spec.rb'
|
||
|
- 'spec/support/helpers/filter_spec_helper.rb'
|
||
|
- 'spec/support/matchers/abort_matcher.rb'
|
||
|
- 'spec/support/shared_examples/metrics/active_record_subscriber_shared_examples.rb'
|
||
|
- 'spec/support/shared_examples/requests/api/notes_shared_examples.rb'
|
||
|
- 'spec/support/shared_examples/uploaders/object_storage_shared_examples.rb'
|
||
|
- 'spec/workers/loose_foreign_keys/cleanup_worker_spec.rb'
|