Prefer specific types over Any
ProprietaryFinds variable declarations whose type expression contains Any. Type Any is the Scala equivalent of Object and is usually too broad.
org. openrewrite. scala. cleanup. PreferSpecificTypesmod run . --recipe= org. openrewrite. scala. cleanup. PreferSpecificTypesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.