Skip to content

Commit

Permalink
Update docs/rules/numeric-separators-style.md
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
fregante and sindresorhus committed Apr 17, 2023
1 parent ac44220 commit ffc475f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/numeric-separators-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Enforces a convention of grouping digits using [numeric separators](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Numeric_separators).
Long numbers can become really hard to read, so cutting it into groups of digits, separated with a `_`, is important to keep your code clear. This rule also enforces a proper usage of the numeric separator, by checking if the groups of digits are of the correct size.

By default this doesn't apply numbers below `10_000` but this can be customized.
By default, this doesn't apply to numbers below `10_000`, but that can be customized.

## Fail

Expand Down

0 comments on commit ffc475f

Please sign in to comment.