ESLint v5.0.0-alpha.1 released

by Brandon Mills - 13 April 2018

We just pushed ESLint v5.0.0-alpha.1, which is a major release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release. This release also has some breaking changes, so please read the following closely.

Note: This version of ESLint is not ready for production use and is provided to gather feedback from the community before releasing the final version. Please let us know if you having any problems or feedback by creating issues on our GitHub repo or joining our Gitter channel.

Highlights

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

Installing

Since this is a pre-release version, you will not automatically be upgraded by npm. You must specify the next tag when installing:

npm i eslint@next --save-dev

You can also specify the version directly:

npm i eslint@5.0.0-alpha.1 --save-dev

Migration Guide

As there are a lot of changes, we've created a migration guide describing the changes in great detail along with the steps you should take to address them. We expect that most users should be able to upgrade without any build changes, but the migration guide should be a useful resource if you encounter problems.

Breaking Changes

Bug Fixes

Documentation

Dependency Upgrades

  • b7a1a7a Build: Gensite creates prerelease dirs if needed (#10154) (Brandon Mills)

Chores

  • 2e60017 Chore: remove concat-stream dependency (#10173) (Teddy Katz)
  • 7f69f11 Chore: rearrange init options. (#10131) (薛定谔的猫)
  • 81629d2 Chore: enable rest/spread rules on ESLint codebase (#10211) (Teddy Katz)
  • cd34d44 Chore: avoid modifying global state when tests fail (#10201) (Teddy Katz)
  • db1a582 Chore: Add debug logging for CLI args as they came in (#10174) (Kevin Partington)
  • c85578f Chore: Remove esprima-fb dependency. (#10171) (alberto)