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
1 changed files with 2 additions and 1 deletions

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: