ESLint v3.19.0 released

by Brandon Mills - 31 March 2017

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

Building on the release of AST selectors in v3.18.0, no-restricted-syntax now supports custom error messages:

{
    "rules": {
        "no-restricted-syntax": [
            "error",
            {
                "selector": "CallExpression[callee.name='setTimeout'][arguments.length!=2]",
                "message": "setTimeout must always be invoked with two arguments."
            }
        ]
    }
}

Autofix is now more reliable thanks to nine individual fixes in this release.

Enhancements

Bug Fixes

Documentation

Dependency Upgrades

Chores