@putout/plugin-apply-numeric-separators 
To improve readability for numeric literals, underscores (
_
) can be used as separators.(c) MDN
🐊Putout plugin apply numeric separators. Merged to @putout/plugin-math
.
Install
npm i @putout/plugin-apply-numeric-separators
Rule
{
"rules": {
"apply-numeric-separators": "on"
}
}
❌ Example of incorrect code
const t = 10000000;
✅ Example of correct code
const t = 10_000_000;
License
MIT