Prefer .view.mapValues for Scala 2.13+
ProprietaryFinds calls to .mapValues which is deprecated in Scala 2.13+ and returns a lazy view instead of a strict Map. Use .view.mapValues(...).toMap instead.
org. openrewrite. scala. performance. PreferViewMapValuesmod run . --recipe= org. openrewrite. scala. performance. PreferViewMapValuesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.