missing guard case in getParserPath
with flat config format #2943
Closed
Description
Hey there,
I've run into an issue with the new flat config format: repro
Eslint outputs the error: Parse errors in imported module './test': parserPath or languageOptions.parser is required! (undefined:undefined)
which originates from the function getParserPath
of the 'eslint-module-utils' package: source
The function returns context.parserPath
as a fallback (when the values of import/parsers
are invalid). But as far as I can tell context.parserPath
is not defined with the new flat config format, right?
Metadata
Assignees
Labels
No labels