Skip to content

Commit 446a2de

Browse files
committed
Explicitly disable Style/ArrayIntersect
We should not have any pending cops.
1 parent c6b9582 commit 446a2de

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,9 @@ Style/AndOr:
410410
Style/ArgumentsForwarding:
411411
Enabled: false
412412

413+
Style/ArrayIntersect:
414+
Enabled: false
415+
413416
Style/BisectedAttrAccessor:
414417
Enabled: false
415418

test/fixtures/full_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2303,7 +2303,7 @@ Style/ArrayCoercion:
23032303
VersionAdded: '0.88'
23042304
Style/ArrayIntersect:
23052305
Description: Use `array1.intersect?(array2)` instead of `(array1 & array2).any?`.
2306-
Enabled: pending
2306+
Enabled: false
23072307
VersionAdded: '1.40'
23082308
Style/ArrayJoin:
23092309
Description: Use Array#join instead of Array#*.

0 commit comments

Comments
 (0)