eslint-scope analyzes JavaScript code and determines the scope of variables. Essential for static analysis tools like ESLint, it identifies variable declarations, references, and their locations within a program. This package correctly tracks scopes through various language constructs, including functions, blocks, and modules. Leveraging eslint-scope ensures accurate code validation and helps prevent errors related to variable usage. This package forms the base to build plugins and tools that rely on checking for correct variable assignment.
Eslint-scope's release frequency is inconsistent. Initial releases occurred in 2017, with periods of inactivity followed. There were bursts of releases in 2018, 2019, and 2021. Releases became less frequent in 2022 and 2023. In 2024 and 2025, releases happened in January, March, July, September and March, June respectively, with intervening months having no releases.
Eslint-scope npm package downloads show high activity between February 2024 and August 2025. Downloads surged starting March 2024, remaining consistently high, peaking in June 2025. July 2025 saw a small decrease. August 2025 downloads are partial, showing a significant drop compared to previous months.