ESLint 0.15.0 released

We just pushed ESLint 0.15.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.

More Language Options

0.15.0 adds more language options for parsing JavaScript, including:

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

Note: The AST structure for default parameters and rest parameters is still undergoing change and discussion. We recommend not creating custom rules using default or rest parameters until after ESLint 1.0.0.

New Rule: space-before-function-parentheses

We had a significant gap in spacing after function names and before anonymous function parentheses. In order to cover this case, we removed checkFunctionKeyword option from space-after-keywords and deprecated space-after-function-name (it will be removed in 1.0.0). You should switch your code to use the new space-before-function-parentheses as soon as possible.

1.0.0 Update

We’re very close to 1.0.0. The last piece we’re waiting for is to have the ECMAScript 6 AST finalized so that it’s safe to start writing custom rules using ES6 nodes. You can follow that progress at the estree project.

Breaking Changes

Bug Fixes

Features

Enhancements

Dependency Upgrades

Documentation

Build Related


+