diff options
author | Rémy Coutable <remy@rymai.me> | 2017-08-03 08:52:47 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-08-03 08:52:47 +0200 |
commit | 7ace475ae2cac65b49f93b32c3d385a96dee22bb (patch) | |
tree | bbace80ecf4ac9f3550ddfa7e7edc1904c7d08e0 /.rubocop.yml | |
parent | 43c015472b5f85f7f345c825687a562f4cb3a13d (diff) | |
download | gitlab-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.yml | 3 |
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: |