Socket
Socket
Sign inDemoInstall

@typescript-eslint/scope-manager

Package Overview
Dependencies
3
Maintainers
2
Versions
2652
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @typescript-eslint/scope-manager

TypeScript scope analyser for ESLint


Version published
Weekly downloads
43M
increased by2.03%
Maintainers
2
Install size
845 kB
Created
Weekly downloads
 

Package description

What is @typescript-eslint/scope-manager?

The @typescript-eslint/scope-manager package is part of the TypeScript ESLint project. It is used to generate TypeScript-aware scope information for ESLint. This scope information is essential for linting TypeScript codebases, as it understands TypeScript-specific features like types and interfaces, which are not present in regular JavaScript.

What are @typescript-eslint/scope-manager's main functionalities?

Scope Analysis

The package analyzes the scope of variables and types within TypeScript code. It helps in identifying where variables are defined and how they are being used, which is crucial for linting and avoiding errors like variable shadowing or undeclared variables.

N/A

TypeScript-specific Scope Handling

It extends ESLint's scope analysis capabilities to understand TypeScript-specific constructs such as interfaces, types, and enums, which are not part of the standard JavaScript language.

N/A

Integration with ESLint

The scope manager is designed to work seamlessly with ESLint, allowing developers to use ESLint's rule set for TypeScript code. It provides the necessary scope information to ESLint rules so they can operate on TypeScript code as they would on JavaScript code.

N/A

Other packages similar to @typescript-eslint/scope-manager

Changelog

Source

5.59.9 (2023-06-05)

Note: Version bump only for package @typescript-eslint/typescript-eslint

Readme

Source

@typescript-eslint/scope-manager

NPM Version NPM Downloads

👉 See https://typescript-eslint.io/architecture/scope-manager for documentation on this package.

See https://typescript-eslint.io for general documentation on typescript-eslint, the tooling that allows you to run ESLint and Prettier on TypeScript code.

Keywords

FAQs

Last updated on 05 Jun 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc