-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add support to new ESLint flat config #115
Comments
Thanks for the heads-up. I'll try to add support soon, but if anyone wants to submit a PR that would be excellent. |
@IanVS any updates? |
I haven't had time to dig into it so far. If anyone is interested, please feel free. Or, if you're willing to set up a reproduction repo that I can use as a starting point, that would also be helpful. |
To me, it seems like it doesn't work without the flat config. I have an
I'm on eslint v8.56.0 |
i mean, even in eslintrc, you should really be using |
@ljharb, I forgot to mention: it gave me another error:
I don't have any |
What plugins are you using? not all plugins are compatible yet with flat config. |
I disabled all plugins, yet I get the error. In this package, I am not using a flat config, hence why I didn't really expect and error message around that. I am migrating gradually in a monorepo. |
@johannes-lindgren eslint-nibble always sets I don't think |
@IanVS thanks for the swift reply; I was just about to post that I managed to work around the issue, and I think it's exactly what you suggested. In ESLint v9, the flat config file is the default. Though I didn't use ESLint v9 anywhere in the monorepo, when running |
Now eslint-nibble finished with error when trying to run with new flat config
https://eslint.org/docs/latest/use/configure/configuration-files-new
The text was updated successfully, but these errors were encountered: