-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
fix: correct Scope typings
#20198
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
fix: correct Scope typings
#20198
Conversation
✅ Deploy Preview for docs-eslint ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@jaymarvelz please check the CI errors. |
|
It looks like the |
|
Yes, the CI problem seems to be that the types of eslint and eslint-scope would be out-of-sync as |
|
@DMartens I checked the Opened #20231 |
|
Sorry for dropping the ball on this. Changes LGTM, thanks. |
Prerequisites checklist
What is the purpose of this pull request? (put an "X" next to an item)
[ ] Documentation update
[x] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:
What changes did you make? (Give an overview)
implicit?: { variables: Variable[]; set: Map<string, Variable>; left: Reference[] }toScope.Scope. This field exists in the global scope.DefinitionType["ImplicitGlobalVariable"].nodeto:AssignmentExpression | ForInStatement | ForOfStatement(instead ofProgram).Dropped "TDZ" fromScope.Scope["type"]. TDZ scopes were removed in[email protected]Removed{ type: "TDZ"; node: any; parent: null }fromDefinitionTypeIs there anything you'd like reviewers to focus on?