Remove unused Scala imports

MSAL

Removes imports, and selectors of brace imports, that nothing after them in their scope uses. Uses through implicit arguments and implicit conversions count, and an import whose use can't be ruled out for lack of type information is kept.

org.openrewrite.scala.RemoveUnusedImports
mod run . --recipe=org.openrewrite.scala.RemoveUnusedImports

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