Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
GitLab
管理
动态
成员
标记
计划
议题
议题看板
里程碑
迭代
需求
代码
合并请求
仓库
分支
提交
标签
仓库图
比较修订版本
代码片段
锁定的文件
构建
流水线
作业
流水线计划
测试用例
产物
部署
发布
Package registry
Container registry
模型注册表
运维
环境
Terraform 模块
监控
事件
服务台
分析
价值流分析
贡献者分析
CI/CD 分析
仓库分析
代码评审分析
议题分析
洞察
模型实验
效能分析
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
gitlab-cn
GitLab
提交
9666e6e1
提交
9666e6e1
编辑于
2 years ago
作者:
Adam Jensen
提交者:
Peter Leitzen
2 years ago
浏览文件
操作
下载
补丁
差异文件
RuboCop: Enable previously disabled Layout/MultilineOperationIndentation
上级
30127175
No related branches found
No related tags found
无相关合并请求
变更
1
隐藏空白变更内容
行内
左右并排
显示
1 个更改的文件
.rubocop_todo/layout/multiline_operation_indentation.yml
+25
-9
25 个添加, 9 个删除
.rubocop_todo/layout/multiline_operation_indentation.yml
有
25 个添加
和
9 个删除
.rubocop_todo/layout/multiline_operation_indentation.yml
+
25
−
9
浏览文件 @
9666e6e1
---
---
# Cop supports --auto-correct.
# Cop supports --auto-correct.
Layout/MultilineOperationIndentation
:
Layout/MultilineOperationIndentation
:
# Offense count: 252
# Temporarily disabled due to too many offenses
Enabled
:
false
Exclude
:
Exclude
:
-
'
app/components/pajamas/concerns/checkbox_radio_label_with_help_text.rb'
-
'
app/controllers/projects/application_controller.rb'
-
'
app/controllers/projects/application_controller.rb'
-
'
app/controllers/repositories/git_http_client_controller.rb'
-
'
app/controllers/repositories/git_http_client_controller.rb'
-
'
app/controllers/sent_notifications_controller.rb'
-
'
app/controllers/sent_notifications_controller.rb'
-
'
app/graphql/types/ci/stage_type.rb'
-
'
app/graphql/types/ci/stage_type.rb'
-
'
app/helpers/application_settings_helper.rb'
-
'
app/helpers/auth_helper.rb'
-
'
app/helpers/auth_helper.rb'
-
'
app/helpers/issuables_helper.rb'
-
'
app/helpers/issuables_helper.rb'
-
'
app/helpers/mirror_helper.rb'
-
'
app/helpers/mirror_helper.rb'
-
'
app/helpers/packages_helper.rb'
-
'
app/helpers/packages_helper.rb'
-
'
app/helpers/projects_helper.rb'
-
'
app/helpers/projects_helper.rb'
-
'
app/helpers/storage_helper.rb'
-
'
app/helpers/visibility_level_helper.rb'
-
'
app/helpers/visibility_level_helper.rb'
-
'
app/helpers/whats_new_helper.rb'
-
'
app/helpers/whats_new_helper.rb'
-
'
app/models/concerns/admin_changed_password_notifier.rb'
-
'
app/models/concerns/admin_changed_password_notifier.rb'
-
'
app/models/integrations/prometheus.rb'
-
'
app/models/integrations/prometheus.rb'
-
'
app/models/merge_request_diff_file.rb'
-
'
app/models/namespaces/traversal/linear_scopes.rb'
-
'
app/models/namespaces/traversal/linear_scopes.rb'
-
'
app/models/packages/conan/metadatum.rb'
-
'
app/models/packages/conan/metadatum.rb'
-
'
app/models/packages/sem_ver.rb'
-
'
app/models/packages/sem_ver.rb'
-
'
app/models/project.rb'
-
'
app/models/project.rb'
-
'
app/models/project_statistics.rb'
-
'
app/models/project_statistics.rb'
-
'
app/models/user.rb'
-
'
app/models/user.rb'
-
'
app/models/work_items/parent_link.rb'
-
'
app/policies/project_policy.rb'
-
'
app/serializers/deploy_keys/deploy_key_entity.rb'
-
'
app/services/ci/create_downstream_pipeline_service.rb'
-
'
app/services/ci/create_downstream_pipeline_service.rb'
-
'
app/services/ci/create_pipeline_service.rb'
-
'
app/services/ci/create_pipeline_service.rb'
-
'
app/services/git/branch_hooks_service.rb'
-
'
app/services/git/branch_hooks_service.rb'
-
'
app/services/groups/group_links/create_service.rb'
-
'
app/services/groups/transfer_service.rb'
-
'
app/services/groups/transfer_service.rb'
-
'
app/services/issues/update_service.rb'
-
'
app/services/issues/update_service.rb'
-
'
app/services/labels/promote_service.rb'
-
'
app/services/labels/promote_service.rb'
-
'
app/services/labels/transfer_service.rb'
-
'
app/services/labels/transfer_service.rb'
-
'
app/services/members/approve_access_request_service.rb'
-
'
app/services/projects/container_repository/cleanup_tags_service.rb'
-
'
app/services/projects/container_repository/cleanup_tags_service.rb'
-
'
app/services/webauthn/authenticate_service.rb'
-
'
app/services/webauthn/authenticate_service.rb'
-
'
app/validators/feature_flag_strategies_validator.rb'
-
'
app/validators/feature_flag_strategies_validator.rb'
-
'
app/workers/container_expiration_policies/cleanup_container_repository_worker.rb'
-
'
app/workers/container_expiration_policies/cleanup_container_repository_worker.rb'
-
'
app/workers/container_registry/migration/guard_worker.rb'
-
'
config/initializers/devise_dynamic_password_length_validation.rb'
-
'
config/initializers/devise_dynamic_password_length_validation.rb'
-
'
danger/utility_css/Dangerfile'
-
'
danger/utility_css/Dangerfile'
-
'
ee/app/controllers/ee/admin/application_settings_controller.rb'
-
'
ee/app/controllers/projects/integrations/jira/issues_controller.rb'
-
'
ee/app/controllers/smartcard_controller.rb'
-
'
ee/app/controllers/smartcard_controller.rb'
-
'
ee/app/graphql/resolvers/boards/epic_lists_resolver.rb'
-
'
ee/app/graphql/resolvers/boards/epic_lists_resolver.rb'
-
'
ee/app/helpers/ee/application_settings_helper.rb'
-
'
ee/app/helpers/ee/application_settings_helper.rb'
-
'
ee/app/helpers/ee/boards_helper.rb'
-
'
ee/app/helpers/ee/boards_helper.rb'
-
'
ee/app/helpers/ee/groups/group_members_helper.rb'
-
'
ee/app/helpers/ee/groups/reporting_helper.rb'
-
'
ee/app/helpers/ee/projects/project_members_helper.rb'
-
'
ee/app/helpers/groups/security_features_helper.rb'
-
'
ee/app/helpers/groups/security_features_helper.rb'
-
'
ee/app/helpers/groups/sso_helper.rb'
-
'
ee/app/helpers/groups/sso_helper.rb'
-
'
ee/app/models/approval_project_rule.rb'
-
'
ee/app/models/concerns/ee/issuable.rb'
-
'
ee/app/models/ee/namespace.rb'
-
'
ee/app/models/ee/namespace.rb'
-
'
ee/app/models/ee/namespace/root_storage_size.rb'
-
'
ee/app/models/ee/namespace/root_storage_size.rb'
-
'
ee/app/models/ee/project.rb'
-
'
ee/app/models/ee/project.rb'
-
'
ee/app/models/ee/user.rb'
-
'
ee/app/models/ee/user.rb'
-
'
ee/app/models/vulnerabilities/finding_signature.rb'
-
'
ee/app/models/vulnerabilities/finding_signature.rb'
-
'
ee/app/policies/ee/base_policy.rb'
-
'
ee/app/policies/ee/base_policy.rb'
-
'
ee/app/policies/ee/merge_request_policy.rb'
-
'
ee/app/services/analytics/cycle_analytics/value_streams/update_service.rb'
-
'
ee/app/services/analytics/cycle_analytics/value_streams/update_service.rb'
-
'
ee/app/services/ee/merge_requests/build_service.rb'
-
'
ee/app/services/ee/merge_requests/build_service.rb'
-
'
ee/app/services/ee/projects/operations/update_service.rb'
-
'
ee/app/services/ee/projects/operations/update_service.rb'
-
'
ee/app/workers/elastic/project_transfer_worker.rb'
-
'
ee/lib/ee/api/entities/group.rb'
-
'
ee/lib/ee/api/entities/group.rb'
-
'
ee/lib/ee/api/geo.rb'
-
'
ee/lib/ee/api/helpers.rb'
-
'
ee/lib/ee/api/helpers.rb'
-
'
ee/lib/ee/api/settings.rb'
-
'
ee/lib/ee/gitlab/git_access_project.rb'
-
'
ee/lib/ee/gitlab/middleware/read_only/controller.rb'
-
'
ee/lib/ee/gitlab/middleware/read_only/controller.rb'
-
'
ee/lib/ee/gitlab/quick_actions/issue_actions.rb'
-
'
ee/lib/ee/gitlab/quick_actions/issue_actions.rb'
-
'
ee/lib/ee/sidebars/projects/menus/ci_cd_menu.rb'
-
'
ee/lib/ee/sidebars/projects/menus/ci_cd_menu.rb'
-
'
ee/lib/ee/sidebars/projects/menus/issues_menu.rb'
-
'
ee/lib/ee/sidebars/projects/menus/issues_menu.rb'
-
'
ee/lib/
elastic/latest/issue_class_proxy
.rb'
-
'
ee/lib/
gitlab/incident_management
.rb'
-
'
ee/lib/sidebars/groups/menus/analytics_menu.rb'
-
'
ee/lib/sidebars/groups/menus/analytics_menu.rb'
-
'
ee/lib/sidebars/groups/menus/security_compliance_menu.rb'
-
'
ee/lib/sidebars/groups/menus/security_compliance_menu.rb'
-
'
ee/spec/services/ci/create_pipeline_service/dast_configuration_spec.rb'
-
'
ee/spec/services/ci/create_pipeline_service/dast_configuration_spec.rb'
-
'
lib/api/maven_packages.rb'
-
'
lib/api/maven_packages.rb'
-
'
lib/api/users.rb'
-
'
lib/api/users.rb'
-
'
lib/api/validations/validators/array_none_any.rb'
-
'
lib/api/validations/validators/array_none_any.rb'
-
'
lib/gitlab/auth/o_auth/user.rb'
-
'
lib/gitlab/ci/reports/security/finding_key.rb'
-
'
lib/gitlab/ci/reports/security/finding_key.rb'
-
'
lib/gitlab/database/load_balancing/connection_proxy.rb'
-
'
lib/gitlab/database/load_balancing/connection_proxy.rb'
-
'
lib/gitlab/database/query_analyzers/prevent_cross_database_modification.rb'
-
'
lib/gitlab/database/query_analyzers/prevent_cross_database_modification.rb'
-
'
lib/gitlab/
form_builders/gitlab_ui_form_builder
.rb'
-
'
lib/gitlab/
error_tracking/error_repository/open_api_strategy
.rb'
-
'
lib/gitlab/git_access.rb'
-
'
lib/gitlab/git_access.rb'
-
'
lib/gitlab/gl_repository/repo_type.rb'
-
'
lib/gitlab/gl_repository/repo_type.rb'
-
'
lib/gitlab/jwt_token.rb'
-
'
lib/gitlab/jwt_token.rb'
...
@@ -82,6 +96,8 @@ Layout/MultilineOperationIndentation:
...
@@ -82,6 +96,8 @@ Layout/MultilineOperationIndentation:
-
'
lib/gitlab/pagination/cursor_based_keyset.rb'
-
'
lib/gitlab/pagination/cursor_based_keyset.rb'
-
'
lib/gitlab/quick_actions/issue_and_merge_request_actions.rb'
-
'
lib/gitlab/quick_actions/issue_and_merge_request_actions.rb'
-
'
lib/gitlab/rack_attack/request.rb'
-
'
lib/gitlab/rack_attack/request.rb'
-
'
lib/gitlab/sidekiq_middleware/duplicate_jobs/duplicate_job.rb'
-
'
lib/gitlab/sidekiq_status.rb'
-
'
lib/gitlab/x509/signature.rb'
-
'
lib/gitlab/x509/signature.rb'
-
'
lib/gitlab_edition.rb'
-
'
lib/gitlab_edition.rb'
-
'
lib/kramdown/converter/commonmark.rb'
-
'
lib/kramdown/converter/commonmark.rb'
...
@@ -90,12 +106,12 @@ Layout/MultilineOperationIndentation:
...
@@ -90,12 +106,12 @@ Layout/MultilineOperationIndentation:
-
'
lib/sidebars/projects/menus/deployments_menu.rb'
-
'
lib/sidebars/projects/menus/deployments_menu.rb'
-
'
lib/sidebars/projects/menus/hidden_menu.rb'
-
'
lib/sidebars/projects/menus/hidden_menu.rb'
-
'
lib/sidebars/projects/menus/monitor_menu.rb'
-
'
lib/sidebars/projects/menus/monitor_menu.rb'
-
'
lib/sidebars/projects/menus/settings_menu.rb'
-
'
qa/qa/ee/page/group/roadmap.rb'
-
'
qa/qa/ee/page/group/roadmap.rb'
-
'
qa/qa/page/component/snippet.rb'
-
'
qa/qa/page/component/snippet.rb'
-
'
qa/qa/runtime/api/repository_storage_moves.rb'
-
'
qa/qa/runtime/api/repository_storage_moves.rb'
-
'
rubocop/cop/gitlab/keys_first_and_values_first.rb'
-
'
rubocop/cop/gitlab/keys_first_and_values_first.rb'
-
'
rubocop/migration_helpers.rb'
-
'
rubocop/migration_helpers.rb'
-
'
spec/controllers/graphql_controller_spec.rb'
-
'
spec/frontend/fixtures/tabs.rb'
-
'
spec/frontend/fixtures/tabs.rb'
-
'
spec/lib/gitlab/ci/pipeline/seed/build_spec.rb'
-
'
spec/lib/gitlab/ci/pipeline/seed/build_spec.rb'
-
'
spec/services/ci/create_pipeline_service_spec.rb'
-
'
spec/services/ci/create_pipeline_service_spec.rb'
...
...
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录