From 8e6a5eac7836ae26dbdfe08feb44ec29ac7792fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 31 Oct 2025 14:44:06 +0100 Subject: [PATCH] Add Style/ArrayIntersectWithSingleElement rule This rule was introduced in rubocop 1.81. Even though it doesn't currently affect us, it makes sense. --- .rubocop.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 075c2f309..137d4fadf 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -735,6 +735,9 @@ Style/ArrayCoercion: Style/ArrayIntersect: Enabled: true +Style/ArrayIntersectWithSingleElement: + Enabled: true + Style/BlockDelimiters: Enabled: true