ESLint v3.12.0 released

by Kai Cataldo - 9 December 2016

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)