ESLint v8.x reached end-of-life on 2024-10-05 and is no longer maintained. Upgrade or consider long-term support options

ESLint v3.12.0 released

We just pushed ESLint v3.12.0, which is a minor release upgrade of ESLint. This release adds a new feature and fixes several bugs found in the previous release.

Highlights

This is a summary of some of the notable changes in this version of ESLint.

Additional APIs

This version includes the addition of three new API methods:

  • getRules to linter
  • version to linter
  • version to CLIEngine

Apologies for the lack of clear documentation on the above - our API documentation needs an overhaul, and we plan on updating this in the near future.

New option for eslint --init

This version adds the ability to pick the airbnb-base config without eslint-plugin-react, for those who want to follow the Airbnb styleguide but do not use React.

New Rules

One new rule was added:

Autofixing

Autofix support was added to the following rule:

Features

Enhancements

Bug Fixes

Documentation

Dependency Upgrades

  • 2ac07d8 Upgrade: Update globals dependency to 9.14.0 (#7683) (Aleksandr Oleynikov)
  • bf20e20 Build: include links to rule pages in release blogpost (#7671) (Teddy Katz)

Chores

  • a8489e2 Chore: Avoid parserOptions boilerplate in tests for ES6 rules (#7724) (Teddy Katz)

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

Differences between ESLint and TypeScript
7 min read

Differences between ESLint and TypeScript

Linters such as ESLint and type checkers such as TypeScript catch different areas of code defects and are best used in conjunction with each other.

ESLint v9.15.0 released
2 min read

ESLint v9.15.0 released

We just pushed ESLint v9.15.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 v9.14.0 released
2 min read

ESLint v9.14.0 released

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