-
Notifications
You must be signed in to change notification settings - Fork 144
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
Prepare the plugin for flat config #853
Comments
Adding backwards compatibility is a bit painful, so I'll implement the ESLint v9 compatibility changes as part of the next major version of the plugin. |
Hello, @Belco90, thank you for setting this up as I can envision this being a pressing issue as more and more of us start to look into migrating to ESLint v9 and changing to use flat config. While the related changes for compatibility for ESLint v9 are being implemented, are there any way for us to specify using the I have tried the typical way of importing the library and specifying it as a plugin under Thank you! |
Hey @studioswong! I don't think there is a way to make the plugin compatible with ESLint v9 until we released the corresponding changes, so I'm afraid you'll have to wait until the next version of the plugin. I'm working on it already, you can follow the progress here: https://github.com/orgs/testing-library/projects/19 edit: To make it clear, you can use the plugin with ESLint v9 if not using the new flat config. Otherwise, this ticket must be addressed for flat config compatibility. |
Thank you so much for your speedy reply @Belco90 ! Gotcha - So basically it's all down to flat config and not ESLint v9 😄 Really looking forward to your work with the support for flat configs - I'm sure a lot of users will come across this soon in the coming weeks! and thanks so much for the great work with this plugin! |
Finally keeping backwards compatibility with RC config, but those configs will be renamed with a |
If this is true, can we update the peer dependencies to include ESLint 9? |
thenbe shared in this other issue a working example on how to use this plugin with flat config using ESLint compatibility utilities, and it works like a charm: #899 (comment) |
I've opened #923 which adds backwards compatible support for flat config, based on the prior work I've done on |
🎉 This issue has been resolved in version 6.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Plugin version
n/a
What problem do you want to solve?
Your take on the correct solution?
Apply the changes mentioned in the linked migration docs so the plugin is compatible with flat config mechanism
Anything else?
No response
Do you want to submit a pull request to implement this change?
Yes
The text was updated successfully, but these errors were encountered: