Closed vilchik-elena closed 4 years ago
It is fixed in https://github.com/babel/babel/pull/10828, babel-eslint
will be renamed as @babel/eslint-parser
, for which we are still preparing.
@JLHwung thanks! does it mean that there is no yet release with the fix?
@vilchik-elena Yes, we can expect a release soon.
Fixed in @babel/eslint-parser
7.11.0, see https://babel.dev/blog/2020/07/13/the-state-of-babel-eslint#the-future for the renaming guide.
Hi,
When parsing with
babel-eslint
code containingimport()
I would expectvisitorKeys
to containImportExpression
. Could you clarify why it is not the case?Using latest babel-eslint 10.1.0
Wrapping the result into
new SourceCode()
resetsvisitorKeys
to some eslint's defaults which containImportExpression
.