Back to Explore

eslint-community/eslint-utils

GitHub
1 watchersOpen source

Last release: 4 months ago

@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

  • The source (eslint-community/eslint-utils) appears actively maintained, with a recent GitHub push on 2026-04-14, and multiple recent version updates (v5.0.0-alpha.1 to v5.0.0-alpha.3) published in January 2026.
  • Update cadence looks like short bursts, with v5.0.0-alpha.1, alpha.2, and alpha.3 all published within seconds on 2026-01-11, and no further tagged updates shown in the provided recency window after that date.

AI summary generated Today

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

Recent updates

  • v5.0.0-alpha.3

    4 months ago

    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

    4 months ago

    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

    4 months ago

    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

    5 months ago

    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

    8 months ago

    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

    9 months ago

    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

    5/2/2025

    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

    4/16/2025

    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

    4/12/2025

    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

    3/13/2025

    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.