No multiple variable declarations
MSALPlaces each variable declaration in its own statement and on its own line. Using one variable declaration per line encourages commenting and can increase readability. Multi-variable declarations also make it harder to track individual types and initializers, increasing the risk of subtle errors.
org. openrewrite. staticanalysis. MultipleVariableDeclarationsmod run . --recipe= org. openrewrite. staticanalysis. MultipleVariableDeclarationsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.