Skip to content

I THINK that the ESLint Parser's peerDependency on @babel/core @ >= 7.11.0 should be updated to be >= 7.17.0 #15552

Answered by JLHwung
matty-at-rdc asked this question in General
Discussion options

You must be logged in to vote

Thanks for the reproduction repo. This is indeed a compatibility bug. If token.type.label is undefined, we should classify it as Template first, so whether tl.doubleAt is defined or not (depends on the babel/core version), the parser should not fall into the undefined === undefined branch. Do you want to open a PR?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@matty-at-rdc
Comment options

@JLHwung
Comment options

@matty-at-rdc
Comment options

@JLHwung
Comment options

Answer selected by matty-at-rdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment