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

config: use "ecmaVersion: latest" #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

onebytegone
Copy link
Contributor

In eslint 7.30.0, support for latest was added to "ecmaVersion". Switching to latest prevents parsing errors when linting newer syntax (e.g. nullish coalescing operators) in JS files.

In eslint 7.30.0 [1], support for "latest" was added to "ecmaVersion".

[1]: https://eslint.org/blog/2021/07/eslint-v7.30.0-released/
@onebytegone
Copy link
Contributor Author

cc @pbredenberg

@pbredenberg
Copy link
Contributor

In eslint 7.30.0, support for latest was added to "ecmaVersion". Switching to latest prevents parsing errors when linting newer syntax (e.g. nullish coalescing operators) in JS files.

Ah! Great, yesterday I saw the comment:

It would be nice to set this to something like 'latest', but you must specify a specific version

I took it for granted. Thanks for looking deeper into it.

@pbredenberg
Copy link
Contributor

@onebytegone do you want to do a version bump when this lands? Or do you want any testing?

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

3 participants