Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
eslint-parser: ES2020 features #11815
This PR adds estree parsing support on the following features:
The nullish coalescing is out of the box since ESTree and Babel shares the AST shape. Thus I have enabled test.
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 1d0f3d3:
I don’t think this needs to block this PR, but we should make sure we bump the ESLint peer dep version once optional chaining lands in ESLint core (hopefully the next release).
I also have a PR open to upgrade to ESLint v7, so if we can land that it should be an easy bump :)