[Bug]: @babel/estlint-parser
fails in projects relying on parserOverride
#13915
Labels
area: eslint
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
馃捇
How are you using Babel?
@babel/eslint-parser
Input code
@babel/eslint-parser
fails if Babel config in the host project relies on any preset / plugin usingparserOverride
. This happens because@babel/eslint-parser
itself uses it to capture Babel options. Although there seems to be some code in place to safeguard against "More than one plugin attempted to override parsing" error when some other parsers/plugin rely onparserOverride
, it does not seem to help in practice.Configuration file name
No response
Configuration
No response
Current and expected behavior
@babel/eslint-parser
fails to work in the described scenario, it should work though.Environment
Babel 7.16.0
Possible solution
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: