From 90ce1900d28ec92208f940b70dc62dabb030133a Mon Sep 17 00:00:00 2001 From: Martin Meyerhoff Date: Tue, 18 Feb 2025 11:56:11 +0100 Subject: [PATCH] Rubocop: Ignore Rails/Delegate This rule makes code shorter, but much less understandable. --- .rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 0a03eb9754..9c10bf5e87 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -113,6 +113,10 @@ Style/TrailingCommaInHashLiteral: Style/SymbolArray: Enabled: false +# In some circumstances, this looks really unintuitive +Rails/Delegate: + Enabled: false + Rails/DynamicFindBy: Whitelist: - find_by_param