for loop counters should use postfix operators
MSALReplace for loop control variables using pre-increment (++i) or pre-decrement (--i) operators with their post-increment (i++) or post-decrement (i--) notation equivalents.
org. openrewrite. staticanalysis. ForLoopControlVariablePostfixOperatorsmod run . --recipe= org. openrewrite. staticanalysis. ForLoopControlVariablePostfixOperatorsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.