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.

ESLint v9.0.0 released
12 min read

ESLint v9.0.0 released

We just pushed ESLint v9.0.0, which is a major release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release. This release also has some breaking changes, so please read the following closely.

Introducing ESLint Config Inspector
2 min read

Introducing ESLint Config Inspector

Introducing the ESLint Config Inspector, a visual tool to help you understand and inspect ESLint flat configuration files.

ESLint v9.0.0-rc.0 released
2 min read

ESLint v9.0.0-rc.0 released

We just pushed ESLint v9.0.0-rc.0, which is a major release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release. This release also has some breaking changes, so please read the following closely.