Closed vdichev closed 8 years ago
Thanks for contributing! :+1:
I ran grep over some code and found a list.reverse.headOption, so I've added that to UseLastNotReverseHead, and I've limited the checks to Scala collections and arrays.
Good point, operations with reverse might make more sense in something like a banker's queue, e.g. https://github.com/djspiewak/scala-collections/blob/master/src/main/scala/com/codecommit/collection/BankersQueue.scala
Two new checks: