Write octal values as decimal
MSALDevelopers may not recognize octal values as such, mistaking them instead for decimal values. Because a leading zero silently switches the literal to base-8, what looks like 010 actually represents 8, which is a common source of subtle numeric bugs.
org. openrewrite. staticanalysis. WriteOctalValuesAsDecimalmod run . --recipe= org. openrewrite. staticanalysis. WriteOctalValuesAsDecimalInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.