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>
This commit is contained in:
Rémy Coutable 2017-08-03 08:52:47 +02:00
parent 43c015472b
commit 7ace475ae2
No known key found for this signature in database
GPG key ID: 46DF07E5CD9E96AB

View file

@ -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: