ESLint 0.12.0 released

We just pushed ESLint 0.12.0, which is a minor release upgrade. This release includes new features and bug fixes.

Highlights

This is a summary of the major changes you need to know about for this version of ESLint.

Partial ECMAScript 6 support

0.12.0 introduces support for several ECMAScript 6 features, including:

All of these options are off by default, and you can enable them in your configuration file. See Configuring ESLint for more information.

We also have two rules that are specific for ES6: no-var and generator-star.

Known limitation: Block scope calculation doesn’t work yet for let and const. We are actively working on fixing that. This may affect rules like no-unused-vars until we resolve this (hopefully soon).

JSX support

0.12.0 also has full support for the JSX extension created by Facebook. ESLint now fully supports JSX natively (it’s not transformed before linting). JSX parsing is off by default, and you can enable it in your configuration file. This is being tracked in #917.

es6jsx end-of-life

The es6jsx branch is now considered obsolete and changes will continue to be merged into the master branch. Please make sure you’re using the latest stable ESLint going forward.

Breaking Changes

Features

Bug Fixes

Enhancements

Dependency Upgrades

Documentation


+