Skip to content

Examples: Clean up.#31736

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev4
Aug 25, 2025
Merged

Examples: Clean up.#31736
Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev4

Conversation

@Mugen87

@Mugen87 Mugen87 commented Aug 25, 2025

Copy link
Copy Markdown
Collaborator

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

mrdoob commented Sep 1, 2025

Copy link
Copy Markdown
Owner

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

@Mugen87

Mugen87 commented Sep 1, 2025

Copy link
Copy Markdown
Collaborator Author

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

@mrdoob

mrdoob commented Sep 1, 2025

Copy link
Copy Markdown
Owner

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