Commits
Click on a commit to change the comparison rangefix(linter): consistent-function-scoping false positive with hoisted var declarations (#12523)
The rule was incorrectly starting from the scope containing the variable binding
instead of the function's own scope. This caused false positives when var
declarations were hoisted to a parent scope while the function captured
variables from its lexical scope.
Fixes the issue by using the function's own scope to determine parent scopes.
fixes #12513