Add and apply Style/CollectionQuerying rubocop rule
This rule was added in rubocop 1.77. We were following it most of the time. It makes the code more readable in my humble opinion.
This commit is contained in:
@@ -747,6 +747,9 @@ Style/ClassVars:
|
||||
Style/CollectionMethods:
|
||||
Enabled: true
|
||||
|
||||
Style/CollectionQuerying:
|
||||
Enabled: true
|
||||
|
||||
Style/ComparableBetween:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user