typelevel-scalafix
typelevel-scalafix copied to clipboard
Rewrite `Right(())` to `Either.unit`
Either.unit is a Cats syntax and is cached, so saves the allocation.
Another one in this guise is that ().pure[F] should be rewritten to Applicative[F].unit.