From 51ae8e97082e4ac3649f8d9c7833eaee0b882875 Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Thu, 3 Aug 2023 21:36:16 +0200 Subject: [PATCH] [Rubocop] Disable Rails/WhereNotWithMultipleConditions The reasoning for this rule seems to be that behaviour changed in 6.1 Not sure how that is relevant for apps that aren't in the process of migrating --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index f4fbd36f7..611634f16 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -103,6 +103,9 @@ Rails/WhereEquals: Rails/WhereExists: EnforcedStyle: where +Rails/WhereNotWithMultipleConditions: + Enabled: false + Style/ConditionalAssignment: Enabled: false