-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Errors when running on elint.config.mjs
#52
Comments
Can you share a minimal reproduction? Thanks |
@antfu It turns out to be a unique combination of seemingly unrelated issues, please checkout this minrep https://github.com/vicary/eslint-config-inspector-mjs All of the followings must be true to trigger this bug:
I am not sure how does |
Why you are having |
It is for a specific issue when the project root contains a directory with the same name as one of those inside node_modules. When we have import * as graphql from "graphql"; |
My project is not ESM ready, therefore I have to use the
.mjs
extension to let only eslint use ESM.The analyzer fails to pick up the config file, but fails with an irrelevant error message.
Is it possible to support
eslint.config.mjs
?The text was updated successfully, but these errors were encountered: