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.

Preparing your custom rules for ESLint v9.0.0
6 min read

Preparing your custom rules for ESLint v9.0.0

The upcoming major release of ESLint includes several breaking changes for rule authors. Read on to learn how to update your rules for ESLint v9.0.0.

ESLint v8.50.0 released
1 min read

ESLint v8.50.0 released

We just pushed ESLint v8.50.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 v8.49.0 released
1 min read

ESLint v8.49.0 released

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