Fix es2020 globals not being recognized#156
Merged
feross merged 1 commit intostandard:masterfrom Oct 21, 2020
Merged
Conversation
Fixes standard/standard#1436 The ecmaVersion in parserOptions is only for setting syntax support. From the docs: https://eslint.org/docs/user-guide/configuring > supporting ES6 syntax is not the same as supporting new ES6 globals Setting the es2020 env will actually set the globals: > adds all ECMAScript 2020 globals and automatically sets the ecmaVersion parser option to 11.
mightyiam
approved these changes
Oct 19, 2019
|
If this is approved, what does it take to get merged and released? |
Contributor
|
@amclin it would likely take @feross pressing the big green button. |
WaleedAshraf
approved these changes
Jan 30, 2020
|
Any progress? |
LinusU
approved these changes
Feb 25, 2020
mightyiam
approved these changes
May 18, 2020
|
i'm assuming this PR will only be merged upon the v15.0.0 release? |
Member
|
This will be part of standard v15. |
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes standard/standard#1436
The ecmaVersion in parserOptions is only for setting syntax support.
From the docs: https://eslint.org/docs/user-guide/configuring
Setting the es2020 env will actually set the globals: