Skip to content

Commit 57e4704

Browse files
committed
Disallow Number Literals That Lose Precision (no-loss-of-precision)
Fixes: standard/standard#1552
1 parent d61a2e0 commit 57e4704

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
},
2727

2828
"rules": {
29+
"no-loss-of-precision": "error",
2930
"accessor-pairs": "error",
3031
"array-bracket-spacing": ["error", "never"],
3132
"arrow-spacing": ["error", { "before": true, "after": true }],

0 commit comments

Comments
 (0)