We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
no-deprecated-context-methods
The no-deprecated-context-methods could catch additional methods:
getAncestors()
SourceCode#getAncestors(node)
getDeclaredVariables()
SourceCode#getDeclaredVariables(node)
getScope()
SourceCode#getScope(node)
markVariableAsUsed(name)
SourceCode#markVariableAsUsed(name, node)
There's also a property we could catch:
parserServices
SourceCode#parserServices
Note that there's a challenge of supporting both styles in order to support both ESLint v8 and v9, as in:
I'm not sure if this is autofixable as a new node parameter needs to be captured and passed.
node
These deprecated members are being removed in ESLint v9:
See:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The no-deprecated-context-methods could catch additional methods:
getAncestors()
->SourceCode#getAncestors(node)
getDeclaredVariables()
->SourceCode#getDeclaredVariables(node)
getScope()
->SourceCode#getScope(node)
markVariableAsUsed(name)
->SourceCode#markVariableAsUsed(name, node)
There's also a property we could catch:
parserServices
->SourceCode#parserServices
Note that there's a challenge of supporting both styles in order to support both ESLint v8 and v9, as in:
I'm not sure if this is autofixable as a new
node
parameter needs to be captured and passed.These deprecated members are being removed in ESLint v9:
See:
The text was updated successfully, but these errors were encountered: