codeclimate/codeclimate-rubocop

View on GitHub
config/contents/style/numeric_literals.md

Summary

Maintainability
Test Coverage
This cop checks for big numeric literals without _ between groups
of digits in them.

### Example:

    # 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