No C-style array declarations
MSALChange C-Style array declarations int i[]; to int[] i;. Keeping the brackets with the type groups all type information in one place, so readers do not have to inspect both the type and the variable name to determine whether something is an array.
org. openrewrite. staticanalysis. UseJavaStyleArrayDeclarationsmod run . --recipe= org. openrewrite. staticanalysis. UseJavaStyleArrayDeclarationsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.