Repository navigation
Docs: Update ECMAScript versions in FAQ - #10047
Merged
Merged
Conversation
platinumazure
approved these changes
Mar 2, 2018
mysticatea
reviewed
Mar 2, 2018
| ### What ECMAScript versions does ESLint support? | ||
|
|
||
| ESLint has full support for ECMAScript 6. By default, this support is off. You can enable ECMAScript 6 syntax and global variables through [configuration](https://eslint.org/docs/user-guide/configuring). | ||
| ESLint has full support for ECMAScript 3, 5 (default), 6, 7, 8, or 9. You can set your desired ECMAScript syntax (and other settings, like global variables or your target environments) through [configuration](https://eslint.org/docs/user-guide/configuring). |
Member
There was a problem hiding this comment.
I like year style; 3, 5, 2015, 2016, 2017, or 2018.
| ### What ECMAScript versions does ESLint support? | ||
|
|
||
| ESLint has full support for ECMAScript 6. By default, this support is off. You can enable ECMAScript 6 syntax and global variables through [configuration](https://eslint.org/docs/user-guide/configuring). | ||
| ESLint has full support for ECMAScript 3, 5 (default), ES2015, ES2016, ES2017, and ES2018. You can set your desired ECMAScript syntax (and other settings, like global variables or your target environments) through [configuration](https://eslint.org/docs/user-guide/configuring). |
Member
There was a problem hiding this comment.
Very minor nitpick: I think it's redundant to say "ECMAScript ES2015". Maybe it would be better to say "ECMAScript 3, 5 (default), 2015, 2016, 2017, and 2018".
alberto
force-pushed
the
readme-es-versions
branch
from
March 3, 2018 09:53
58621cc to
6a7f643
Compare
alberto
force-pushed
the
readme-es-versions
branch
from
March 3, 2018 09:54
6a7f643 to
9a90201
Compare
ilyavolodin
approved these changes
Mar 3, 2018
btmills
approved these changes
Mar 3, 2018
not-an-aardvark
approved these changes
Mar 3, 2018
gyandeeps
approved these changes
Mar 3, 2018
platinumazure
approved these changes
Mar 3, 2018
This was referenced Mar 16, 2018
This was referenced Mar 16, 2018
This was referenced Mar 22, 2018
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What is the purpose of this pull request? (put an "X" next to item)
[X ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:
What changes did you make? (Give an overview)
Update the information about supported ES versions to FAQ.
Is there anything you'd like reviewers to focus on?
No.