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

[Docs] Clarify that es6 env also sets ecmaVersion to 6 #7067

Merged
merged 1 commit into from Sep 7, 2016

Commits on Sep 7, 2016

  1. Docs: Clarify that es6 env also sets ecmaVersion to 6

    Reading the docs, it is not clear why ESLint's parser will stop complaining about ES6 specifics when `es6` env is set and `ecmaVersion: 6` is omitted.
    It is actually done [on purpose](https://github.com/eslint/eslint/blob/e1187285f137d685bcfc9e2a771fa059ef9637a9/conf/environments.js#L98-L103), but the documentation didn't mention this at all.
    astorije committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    063d610 View commit details
    Browse the repository at this point in the history