Find numbers with irregular underscore grouping
ProprietaryMarks an int or long literal whose underscores split it into groups of different sizes after the first, or into a first group longer than the rest, such as 1_000_00 or 1000_000, which suggests a digit was added or dropped. Binary literals, whose groups may stand for separate flags, are not marked. The leading 0 of an octal literal counts as a prefix, like 0x, so 0777_777 is not marked. Which digit is wrong is up to the author. Test sources are not searched.
io. moderne. staticanalysis. FindIrregularNumberGroupingmod run . --recipe= io. moderne. staticanalysis. FindIrregularNumberGroupingInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.