-
Notifications
You must be signed in to change notification settings - Fork 10
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
context.getAncestors is not a function
with eslint 9.0.0
#32
Comments
Hi @jpzwarte! Will look into eslint 9 compatibility this week |
Just encountered this. Is there a workaround?
|
https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/ gives a code example for updating |
ESLint published the Blog post Introducing ESLint Compatibility Utilities yesterday announcing a new utility @eslint/compat to work around compatibility issues like this. |
Would you like a PR to fix this issue or are you already planning to do it yourself? |
|
@MikeMcC399 released in |
Thank you very much! I am just testing with Cypress and ESLint v9 flat configuration and it all looks good! 👍🏻 |
Works fine with eslint 8.57.0
Uses version 0.7.4 of the plugin.
The text was updated successfully, but these errors were encountered: