rspec/rules/S3937/rule.adoc

7 lines
375 B
Plaintext
Raw Normal View History

== Why is this an issue?
The use of punctuation characters to separate subgroups in a number can make the number more readable. For instance consider 1,000,000,000 versus 1000000000. But when the grouping is irregular, such as 1,000,00,000; it indicates an error.
2020-06-30 12:48:39 +02:00
2021-02-02 15:02:10 +01:00
2021-01-27 13:42:22 +01:00
This rule raises an issue when underscores (``++_++``) are used to break a number into irregular subgroups.