ESLint 0.11.0 released

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

Highlights

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

New parser

0.11.0 is the first version of ESLint to run on our own parser, Espree. Espree is currently configured to behave like Esprima 1.2.2, which was the parser that 0.10.0 was using, so you should see no differences in the behavior of ESLint related to the parser change.

Making this change allowed us to fix a couple of bugs we’ve had open that were related to Esprima issues.

ECMAScript 5 by default

This is the first release where we’ve started transitioning all settings to be ECMAScript 5 by default. ECMAScript 5 is the most widely-supported version of JavaScript, and so we want to assume ECMAScript 5 code and allow users to opt-in to ECMAScript 3 and ECMAScript 6 features.

Part of this involved a change made for #1484, which updated the dot-notation rule to allow keywords be used (as allowed by ECMAScript 5 but not ECMAScript 3). The option allowKeywords was added with a default value of true so that you can opt-out of this behavior if you need to support an ECMAScript 3 environment.

This means the following used to result in a warning but no longer does in 0.11.0:

obj.delete = 5;

Breaking Changes

Features

Bug Fixes

Enhancements

Dependency Upgrades