Find functions declared with : Nothing return type

Proprietary

Nothing means 'this function never returns normally' — the body must throw, loop forever, or call another Nothing-returning function. Flag for review: if the body actually does return, the type is wrong; if it always throws, the call sites can rely on Kotlin's exhaustiveness checks.

org.openrewrite.kotlin.bestpractices.FindReturnTypeNothing$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.bestpractices.FindReturnTypeNothing$KtRecipe'

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