Skip to content
代码片段 群组 项目
提交 0ef2477e 编辑于 作者: Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
浏览文件

Merge branch '354328-rubocop-todo-resolve-Lint/EmptyFile' into 'master'

Exclude empty seed files from RuboCop Lint/EmptyFile rule permanently

See merge request gitlab-org/gitlab!86133
No related branches found
No related tags found
无相关合并请求
...@@ -72,6 +72,11 @@ Lint/LastKeywordArgument: ...@@ -72,6 +72,11 @@ Lint/LastKeywordArgument:
Enabled: true Enabled: true
Safe: false Safe: false
Lint/EmptyFile:
Exclude:
- 'db/seeds.rb'
- 'ee/db/geo/seeds.rb'
# This cop checks whether some constant value isn't a # This cop checks whether some constant value isn't a
# mutable literal (e.g. array or hash). # mutable literal (e.g. array or hash).
Style/MutableConstant: Style/MutableConstant:
......
...@@ -11,13 +11,6 @@ Gitlab/PolicyRuleBoolean: ...@@ -11,13 +11,6 @@ Gitlab/PolicyRuleBoolean:
Exclude: Exclude:
- 'ee/app/policies/ee/identity_provider_policy.rb' - 'ee/app/policies/ee/identity_provider_policy.rb'
# Offense count: 2
# Configuration parameters: AllowComments.
Lint/EmptyFile:
Exclude:
- 'db/seeds.rb'
- 'ee/db/geo/seeds.rb'
# Offense count: 200 # Offense count: 200
# Cop supports --auto-correct. # Cop supports --auto-correct.
Lint/RedundantCopDisableDirective: Lint/RedundantCopDisableDirective:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册