Add Style/ArrayIntersectWithSingleElement rule

This rule was introduced in rubocop 1.81. Even though it doesn't
currently affect us, it makes sense.
This commit is contained in:
Javi Martín
2025-10-31 14:44:06 +01:00
parent d18c627392
commit 8e6a5eac78

View File

@@ -735,6 +735,9 @@ Style/ArrayCoercion:
Style/ArrayIntersect:
Enabled: true
Style/ArrayIntersectWithSingleElement:
Enabled: true
Style/BlockDelimiters:
Enabled: true