Reduce deep nesting by extracting methods
ProprietaryFinds def methods with deeply nested code (5+ indentation levels). Deeply nested code is hard to follow; consider extracting methods.
org. openrewrite. scala. cleanup. ReduceNestingmod run . --recipe= org. openrewrite. scala. cleanup. ReduceNestingInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.