-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Cannot read config file: eslint.config.mjs #18514
Comments
Hi @realtril, thanks for the issue. We do require a minimal reproducible example to evaluate bug reports. Is ESLint CLI able to find the config file? This error does not seem to be from the CLI. |
@Rec0iL99 found out that the problem is most probably webpack.config:
Since once this is deleted, my build goes through successfully. Should it be updated ?
But no luck |
We don't maintain the webpack plugin for ESLint, so the best course of action here is to get help from the plugin maintainers. Closing this now. |
It looks like there wasn't enough information for us to know how to help you, so we're closing the issue. Thanks for your understanding. |
@realtril did you find any solution for that ? |
Can try this? |
Environment
Node version: 18.18.0
npm version: 9.8.1
Local ESLint version: 9.3.0
Global ESLint version: 9.3.0
Operating System: Mac OS
What parser are you using?
@typescript-eslint/parser
What did you do?
Here's my eslint.config.mjs:
Same error is actually happening even with using default generated .mjs.
Packages versions:
What did you expect to happen?
Expect to build the app successfully.
What actually happened?
Link to Minimal Reproducible Example
Unfortunately, I don't have any
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: