ESLint v10.3.0 released

We just pushed ESLint v10.3.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

Highlights

no-unused-private-class-members Suggestions

The no-unused-private-class-members rule now provides suggestions to remove reported unused private class members.

For example, for the following code, in which the rule reports #doSomethingElse as unused:

class C {

    /**
     * My public method.
     */
    doSomething() {
    }

    /**
     * My private method.
     */
    #doSomethingElse() {
    }

}

It will now suggest removing #doSomethingElse. After applying the suggestion, the method and related comment will be removed:

class C {

    /**
     * My public method.
     */
    doSomething() {
    }

}

Features

Bug Fixes

  • b6ae5cf fix: handle unavailable require cache (#20812) (Simon Podlipsky)
  • 6fb3685 fix: rule suggestions cause continuation in class body (#20787) (Milos Djermanovic)

Documentation

  • 32cc7ab docs: fix typos in docs and comments (#20809) (Tanuj Kanti)
  • 7f47937 docs: Update README (GitHub Actions Bot)

Chores

  • d32235e ci: use pnpm in eslint-flat-config-utils type integration test (#20826) (Francesco Trotta)
  • 3ffb14e chore: clean up typos in comments and JSDoc (#20821) (Pixel998)
  • 22eb58a chore: add missing continue-on-error to ecosystem-tests.yml (#20818) (Josh Goldberg ✨)
  • 88bf002 ci: bump pnpm/action-setup from 6.0.1 to 6.0.3 (#20815) (dependabot[bot])
  • 97c8c33 chore: update ilshidur/action-discord action to v0.4.0 (#20811) (renovate[bot])
  • 2f58136 chore: pin peter-evans/create-pull-request action to 5f6978f (#20810) (renovate[bot])
  • 77add7f chore: add initial ecosystem plugin tests workflow (#19643) (Josh Goldberg ✨)
  • 4023b55 test: Add unit tests for SuppressionsService.prune() (#20797) (kuldeep kumar)
  • 54080da test: add unit tests for ForkContext (#20778) (kuldeep kumar)
  • f0e2bcc test: add unit tests for SuppressionsService.suppress() method (#20765) (kuldeep kumar)
  • a7f0b94 chore: update dependency prettier to v3.8.3 (#20782) (renovate[bot])
  • 7bf93d9 chore: update TypeScript to v6 (#20677) (sethamus)
  • b42dd72 ci: bump pnpm/action-setup from 6.0.0 to 6.0.1 (#20781) (dependabot[bot])
  • 2b252be test: add unit tests for IdGenerator (#20775) (kuldeep kumar)

The latest ESLint news, case studies, tutorials, and resources.

ESLint v10.2.1 released
1 min read

ESLint v10.2.1 released

We just pushed ESLint v10.2.1, which is a patch release upgrade of ESLint. This release fixes several bugs found in the previous release.

ESLint v10.2.0 released
2 min read

ESLint v10.2.0 released

We just pushed ESLint v10.2.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.

ESLint v10.1.0 released
2 min read

ESLint v10.1.0 released

We just pushed ESLint v10.1.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.