-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
missing guard case in getParserPath
with flat config format
#2943
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 functiongetParserPath
of the 'eslint-module-utils' package: sourceThe function returns
context.parserPath
as a fallback (when the values ofimport/parsers
are invalid). But as far as I can tellcontext.parserPath
is not defined with the new flat config format, right?The text was updated successfully, but these errors were encountered: