summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-08-03 08:52:47 +0200
committerRémy Coutable <remy@rymai.me>2017-08-03 08:52:47 +0200
commit7ace475ae2cac65b49f93b32c3d385a96dee22bb (patch)
treebbace80ecf4ac9f3550ddfa7e7edc1904c7d08e0 /.rubocop.yml
parent43c015472b5f85f7f345c825687a562f4cb3a13d (diff)
downloadgitlab-ce-7ace475ae2cac65b49f93b32c3d385a96dee22bb.tar.gz
Disable the Rails/Delegate cop
See https://gitlab.com/gitlab-org/gitlab-ce/issues/35869 for the rationale. Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 3e4275c271d..a5ccec0437b 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -943,8 +943,9 @@ Rails/Date:
Enabled: false
# Prefer delegate method for delegations.
+# Disabled per https://gitlab.com/gitlab-org/gitlab-ce/issues/35869
Rails/Delegate:
- Enabled: true
+ Enabled: false
# This cop checks dynamic `find_by_*` methods.
Rails/DynamicFindBy: