docs(lint/useNumericSeparators): more valid/invalid examples, document options
b800871
8 days ago
by uncenter
0%
refactor(lint/useNumericSeparators): prefer `.map().unwrap_or_default()` over if/else for empty strings
64a28cf
8 days ago
by uncenter
0%
test(lint/useNumericSeparators): remove valid numeric literal from invalid fixture
I thought this was supposed to be invalid but after I started properly checking `min_digits` for all chunked numbers, including exponents, `1234` is less than the minimum of 5 for decimals and therefore doesn't need a separator.