Use ? instead of _ for wildcard types (Scala 3)

Proprietary

Finds usage of _ as a wildcard type in type parameters (e.g., List[_]). In Scala 3, the wildcard type syntax changed from _ to ?.

org.openrewrite.scala.migrate.UseQuestionMarkWildcard
mod run . --recipe=org.openrewrite.scala.migrate.UseQuestionMarkWildcard

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.