Back to Explore

eslint-community/eslint-utils

GitHub
4 updates · last 90 days3 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

  • Actively maintained: the repo shows a very recent upstream push (2026-07-28) and multiple recent updates in late July 2026, including v5.0.0-alpha versions.
  • Update cadence: after a quiet period earlier in 2026 (notably v5.0.0-alpha.1 to .3 in January), there is a short burst of activity in July 2026, with several updates clustered around 2026-07-22, plus additional upstream activity on 2026-07-28 (suggesting an active maintenance window rather than long dormancy).

AI summary generated

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

Recent updates

  • v5.0.0-alpha.5

    v5.0.0-alpha.5 is a dependency-only release. The only code diff updates the eslint-visitor-keys dependency range from v4 to v5.

  • v5.0.0-alpha.4

    v5.0.0-alpha.4 primarily drops Node v18 support and raises the minimum supported Node.js versions (Node 20.19.0+, 22.13.0+, or >=24). The code diff shows no meaningful runtime logic changes in the src files presented, but it does update repo docs, tests, and tooling to consistently use ESLint v9-style APIs (context.sourceCode) instead of older compatibility patterns.

    Breaking
  • v4.10.1

    v4.10.1 contains a set of targeted fixes and reverts: it restores Node.js support behavior from the prior release, and updates missing Node type definitions. It also reverts a dependency upgrade related to eslint-visitor-keys.

  • v4.10.0

    v4.10.0 primarily upgrades the runtime dependency eslint-visitor-keys to v5. The diff also shows substantial tooling and ecosystem updates (lint config, CI Node versions, and various dev dependency bumps), but the release notes only mention the eslint-visitor-keys upgrade.

  • 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.