ESLint v5.0.0-alpha.0 released

by Teddy Katz - 30 March 2018

We just pushed ESLint v5.0.0-alpha.0, 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.0 --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

Enhancements

Bug Fixes

  • 0bc4a3835 Fix: Make rule-tester strictly check messageId. (ref #9890) (#9908) (Jacques Favreau)

Documentation

  • f2f98dd13 Build: make prerelease script publish to GitHub/website (#10151) (Teddy Katz)

Chores

  • 9a020dc14 Chore: refactor --no-ignore flag logic (#10146) (Teddy Katz)
  • 4f61a0ded Chore: add noopener/noreferrer (薛定谔的猫)
  • 837edc7c0 Chore: Uncommented test for empty program for no-invalid-meta (#10046) (Kevin Partington)