Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Aug 25, 2025

Related issue: -

Description

Numbers like 200_000 break ESLint. For consistency reasons, better to use normal number notation.

@Mugen87 Mugen87 added this to the r180 milestone Aug 25, 2025
@Mugen87 Mugen87 merged commit 7ea407a into mrdoob:dev Aug 25, 2025
8 checks passed
@mrdoob
Copy link
Owner

mrdoob commented Sep 1, 2025

Do they break ESlint? Or do they break our ESlint config?

@Mugen87
Copy link
Collaborator Author

Mugen87 commented Sep 1, 2025

It's our config since we stick to ECMAScript 2018 and Numeric Separators were introduced with ECMAScript 2021.

@mrdoob
Copy link
Owner

mrdoob commented Sep 1, 2025

Ah...

Hopefully we'll be able to move to ECMAScript 2021 at some point.
Makes it easier to read the amount of zeros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants