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:
@@ -735,6 +735,9 @@ Style/ArrayCoercion:
|
||||
Style/ArrayIntersect:
|
||||
Enabled: true
|
||||
|
||||
Style/ArrayIntersectWithSingleElement:
|
||||
Enabled: true
|
||||
|
||||
Style/BlockDelimiters:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user