Back to Explore

eslint-community/eslint-utils

GitHub
2 watchersOpen source

Last release:

@eslint-community/eslint-utils provides utility functions and classes to help you write ESLint custom rules and plugin code. It includes helpers for working with the AST, and tools like ReferenceTracker for tracking module and global member handling. Documentation and changelogs are available on the eslint-utils site and GitHub releases.

Project status

  • Active maintenance: The repo shows an upstream push on 2026-06-08, and recent v5.0.0 alpha updates (Jan 11, 2026) indicate ongoing work rather than maintenance-only stasis.
  • Cadence: After several 2025 updates, the project moved into multiple v5.0.0-alpha iterations on the same day (alpha.1 to alpha.3 on 2026-01-11), and there has been at least one recent upstream activity in June 2026.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v5.0.0-alpha.3

    v5.0.0-alpha.3 primarily updates the project to be compatible only with newer versions of typescript-eslint. The release notes document a breaking removal of typescript-eslint v5 support, and the diff shows dependency upgrades to the typescript-eslint v8 line.

    Breaking
  • v5.0.0-alpha.2

    Release v5.0.0-alpha.2 contains a single change: it bumps the dependency eslint-visitor-keys from v3 to v4. Release notes describe this as a bug fix related to dependency updates.

  • v5.0.0-alpha.1

    v5.0.0-alpha.1 formally bumps the minimum supported Node.js and ESLint versions. The diff itself shows changes only to CI/workflows and package metadata/dev tooling, not any runtime source code.

    Breaking
  • v4.9.1

    v4.9.1 is documented as a bug fix release focused on ESLint v9 compatibility. The code diff shows additional robustness changes in several AST helper utilities, mainly adding null checks around `node.parent` to prevent crashes and adjust return values in edge cases.

  • v4.9.0

    v4.9.0 adds support for the latest typescript-eslint behavior in the isParenthesized logic. The release notes only mention this single feature and provide no further details.

    Features
  • v4.8.0

    v4.8.0 ships a bug fix in get-static-value to avoid returning a static value when a variable is mutated after initialization. It also extends isParenthesized to correctly handle TypeScript AST constructs, specifically around generic type parameters in CallExpression and NewExpression.

    Features
  • v4.7.0

    v4.7.0 adds TypeScript AST support for `getStaticValue` and `ReferenceTracker`, enabling evaluation and reference tracking of common TypeScript expression forms. It also includes a fix related to the `preversion` npm script, but the diff shows additional build/test script and CI changes beyond what is mentioned in the release notes.

    Features
  • v4.6.1

    v4.6.1 is a small patch release focused on improving compatibility with Node 12. The documented change is limited to a Node 12 fix, with no new features called out.

  • v4.6.0

    v4.6.0 adds generation of TypeScript declaration files (.d.ts) from the project’s JSDoc types, alongside validation of those type comments. The release notes only mention this feature, but the diff also includes a broader build and tooling change (new TS-based declaration build pipeline) and multiple internal code adjustments.

    Features
  • v4.5.1

    Release v4.5.1 contains a bug fix for a crash in `getStringIfConstant` when evaluating `Symbol.prototype`. The implementation now guards `String(evaluated.value)` with a try/catch and ensures a null return when static evaluation is not usable.