We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Style/CollectionQuerying
1 parent 616c4fa commit f92b332Copy full SHA for f92b332
rubocop.yml
@@ -702,6 +702,11 @@ Style/ClassVars:
702
Style/CollectionCompact:
703
Enabled: false
704
705
+<% if rubocop_version >= '1.77' %>
706
+Style/CollectionQuerying:
707
+ Enabled: true
708
+<% end %>
709
+
710
Style/ColonMethodCall:
711
712
test/fixtures/full_config.yml
@@ -2743,7 +2743,7 @@ Style/CollectionMethods:
2743
Style/CollectionQuerying:
2744
Description: Prefer `Enumerable` predicate methods over expressions with `count`.
2745
StyleGuide: "#collection-querying"
2746
- Enabled: pending
2747
VersionAdded: '1.77'
2748
Safe: false
2749
0 commit comments