Write octal values as decimal

MSAL

Developers 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.WriteOctalValuesAsDecimal
mod run . --recipe=org.openrewrite.staticanalysis.WriteOctalValuesAsDecimal

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.