-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(typescript-estree): align nodes with estree 2020 #1389
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
Merged
Conversation
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
This comment has been minimized.
This comment has been minimized.
armano2
commented
Dec 30, 2019
Codecov Report
@@ Coverage Diff @@
## v3 #1389 +/- ##
==========================================
- Coverage 93.78% 93.74% -0.05%
==========================================
Files 172 172
Lines 7808 7813 +5
Branches 2242 2245 +3
==========================================
+ Hits 7323 7324 +1
- Misses 227 228 +1
- Partials 258 261 +3
|
- json does no support bigint
bradzacher
pushed a commit
that referenced
this pull request
May 11, 2020
bradzacher
pushed a commit
that referenced
this pull request
May 14, 2020
bradzacher
pushed a commit
that referenced
this pull request
May 17, 2020
bradzacher
pushed a commit
that referenced
this pull request
May 21, 2020
Can't parse BigInt |
please don't comment on closed PRs - file a new issue instead, as per our contributing guidelines https://github.com/typescript-eslint/typescript-eslint/blob/master/CONTRIBUTING.md#raising-issues |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
breaking change
This change will require a new major version to be released
enhancement
New feature or request
package: typescript-estree
Issues related to @typescript-eslint/typescript-estree
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.
BREAKING CHANGE:
This PR aims to align new nodes with es2020 spec, mainly
BigIntLiteral
becomesLiteral
type with additional fieldbigint
andImportExpression
is used instead ofCallExpression
.https://github.com/estree/estree/blob/master/es2020.md
TODO/ISSUES:
Bigint
implementationImportExpression
implementationdropped:
Jest does no support bigint in snapshots - solved by jest@25 (next)ts-jest
is not officially supporting jest@25 - feat: support Jest 25 kulshekhar/ts-jest#1232Fixes #1999
Fixes #1950