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
eslint.config.js
support
#3217
Comments
The error message is leading, it should be something like "we do not support files other than json". |
@Boshen yes, but support for |
@dalisoft please refer to this statement @Boshen made: #2214 (comment) |
This is actually a HUGE issue because now the new "Flat Config" format (the |
Do you have a rough idea of how to make it work? i.e. load eslint and get all the information we need? |
@Boshen if you'd like I can put something together |
You can't load and evaluate JavaScript from Rust, that's the crux of the problem. To make this even remotely work, you would need to execute a |
I'm not worried about the performance impact, I'm worried about the maintenance burden put into this project, as stated in #2214 (comment) When I was doing research while setting up oxlint, I read almost all ESLint related issues from GitHub, stackoverflow, discord, reddit etc, and 90% of them are configuration issues, and a lot of them are unanswered due to its context and complexity. |
Maybe we can use |
Currently
eslint.config.js
is not supported as tested bybunx oxlint . --import-plugin --config=eslint.config.js
And got
The text was updated successfully, but these errors were encountered: