--- # Cop supports --auto-correct. Style/RescueModifier: # Offense count: 59 # Temporarily disabled due to too many offenses Enabled: false Exclude: - 'app/controllers/admin/system_info_controller.rb' - 'app/controllers/users_controller.rb' - 'app/finders/ci/daily_build_group_report_results_finder.rb' - 'app/helpers/blob_helper.rb' - 'app/models/concerns/diff_positionable_note.rb' - 'app/models/integrations/jira.rb' - 'app/models/sent_notification.rb' - 'app/models/todo.rb' - 'app/services/security/ci_configuration/sast_parser_service.rb' - 'config/initializers/active_record_data_types.rb' - 'config/settings.rb' - 'ee/app/models/license.rb' - 'ee/lib/ee/gitlab/background_migration/drop_invalid_remediations.rb' - 'ee/lib/gitlab/geo.rb' - 'ee/lib/gitlab/geo/health_check.rb' - 'lib/api/helpers.rb' - 'lib/feature.rb' - 'lib/gitlab/current_settings.rb' - 'lib/gitlab/dependency_linker/cargo_toml_linker.rb' - 'lib/gitlab/dependency_linker/json_linker.rb' - 'lib/gitlab/diff/parser.rb' - 'lib/gitlab/import_export/after_export_strategy_builder.rb' - 'lib/gitlab/kubernetes.rb' - 'lib/gitlab/middleware/read_only/controller.rb' - 'lib/gitlab/process_management.rb' - 'lib/gitlab/query_limiting/middleware.rb' - 'lib/gitlab/quick_actions/command_definition.rb' - 'lib/gitlab/quick_actions/spend_time_and_date_separator.rb' - 'lib/gitlab/word_diff/segments/diff_hunk.rb' - 'lib/gitlab/zentao/client.rb' - 'lib/tasks/gitlab/praefect.rake' - 'qa/qa/page/component/access_tokens.rb' - 'qa/qa/page/profile/ssh_keys.rb' - 'spec/finders/concerns/finder_with_cross_project_access_spec.rb' - 'spec/lib/gitlab/database/load_balancing/session_spec.rb' - 'spec/lib/gitlab/database/migrations/instrumentation_spec.rb' - 'spec/lib/gitlab/email/handler/service_desk_handler_spec.rb' - 'spec/lib/gitlab/sidekiq_middleware/monitor_spec.rb' - 'spec/models/concerns/bulk_insert_safe_spec.rb' - 'spec/models/design_management/version_spec.rb' - 'spec/models/group_spec.rb' - 'spec/models/namespace/traversal_hierarchy_spec.rb' - 'spec/services/design_management/delete_designs_service_spec.rb' - 'spec/support/shared_examples/lib/gitlab/config/inheritable_shared_examples.rb'