Pattern: Missing _
for numeric literal
Issue: -
This rule checks for large numeric literals without _
between groups of digits in them.
# bad
1000000
1_00_000
1_0000
# good
1_000_000
1000
# good unless Strict is set
10_000_00 # typical representation of $10,000 in cents
Attribute | Value |
---|---|
MinDigits | 5 |
Strict | false |