Find functions declared with : Nothing return type
ProprietaryNothing 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$KtRecipemod 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.