You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The question is when i show some example code, The ESLint errors:
```js
const number = 1000000000000000000000.5
const result = Number.parseInt(number)
console.log(result) // 1 <-- 😱
```
/Users/**/**/number-truncation-in-javascript.md
77:16 error This number literal will lose precision at runtime no-loss-of-precision
85:16 error This number literal will lose precision at runtime no-loss-of-precision
Yes, It's okay. But you know, i need to show this.
how can i change the config?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The question is when i show some example code, The ESLint errors:
Yes, It's okay. But you know, i need to show this.
how can i change the config?
Beta Was this translation helpful? Give feedback.
All reactions