Skip to content

Conversation

mdjermanovic
Copy link
Member

@mdjermanovic mdjermanovic commented Sep 15, 2025

Prerequisites checklist

What is the purpose of this pull request?

Updates eslint-scope to resolve references to globally declared var and function variables, and adds a method to create predefined global variables.

What changes did you make? (Give an overview)

  • Updated global scope to resolve references to declared var and function variables.
  • Added ScopeManager#addGlobals() method that allows adding predefined globals.

TODO related PR in eslint/eslint.

Related Issues

Fixes #665

Is there anything you'd like reviewers to focus on?

WIP, not ready for review.

@mdjermanovic mdjermanovic changed the title feat!: Close var and function references on global scope feat!: Resolve references to global var/function, add addGlobals() Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Triage
Development

Successfully merging this pull request may close these issues.

Question: how come function references on the global scope are not closed
1 participant