ESLint v3.9.0 released

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

Highlights

This release includes some exciting new features, including a new results formatter and the ability for ESLint to support enhanced parsers!

New formatter

As part of our continuing effort to support our users coming from JSCS, we’re excited to release the new codeframe formatter!

error: Missing semicolon (semi) at file.js:1:13:
> 1 | var a = true
    |             ^
  2 |
  3 |


warning: There should be no space after '{' (object-curly-spacing) at file2.js:1:9:
> 1 | var b = { c: true};
    |         ^
  2 |
  3 |


1 error and 1 warning found.

Enhanced parsers

ESLint now supports enhanced parsers, which allows parsers to provide ESLint-specific services and functionality. This allows ESLint to support added functionality such as parsing type checkers.

New Rules

New Rule Options

New autofixing

Deprecated rules

With this release we deprecated prefer-reflect rule. The original intent of this rule now seems misguided as we have come to understand that Reflect methods are not actually intended to replace the Object counterparts the rule suggests, but rather exist as low-level primitives to be used with proxies in order to replicate the default behavior of various previously existing functionality. This rule will not be replaced.

Features

Enhancements

Bug Fixes

Documentation

Build

Chores

Upgrades