Unwrap else block after return or throw statement

MSAL

Unwraps the else block when the if block ends with a return or throw statement, reducing nesting and improving code readability.

org.openrewrite.staticanalysis.UnwrapElseAfterReturn
mod run . --recipe=org.openrewrite.staticanalysis.UnwrapElseAfterReturn

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