Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ESLint ECMA version #2439

Merged
merged 1 commit into from Feb 21, 2023
Merged

Conversation

NiedziolkaMichal
Copy link
Member

Description

I have changed the ECMAScript version against which ESLint is performing an analysis, so we remove the globals property and skip updating it whenever we wish to use some of the new features. Unfortunately, there is no ESNext value that we can use, so whenever a new ES version comes up and we get the error NEW_FEATURE is not defined, we need to update env again.

This also makes it easier to merge #2411 and other Typed Array examples, because we don't need to add BigInt64Array and other types to globals.

Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @NiedziolkaMichal, going to merge shortly 👍🏻

@bsmth bsmth merged commit 1d48a6c into mdn:main Feb 21, 2023
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.

None yet

2 participants