Bug: Update context methods to source code methods #143
Closed
Description
Environment
Node version: v20.9.0
npm version: v10.1.0
Local ESLint version: v8.52.0 (Currently used)
Global ESLint version: Not found
eslint-plugin-n version: v16.3.1
Operating System: win32 10.0.19045
What rule do you want to report?
all
Link to Minimal Reproducible Example
What did you expect to happen?
I expected all of the rules to be updated based on this blog post:
https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/
As it is, many of the rules will throw an error in v9.0.0 due to the improper use of getScope()
and getAncestors()
. This is also blocking CI for the change that removes these methods.
Participation
- I am willing to submit a pull request for this issue.
Additional comments
No response