ESLint v4.0.0 released
We just pushed ESLint v4.0.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.
- There are several breaking changes in 4.0.0. We’ve created a migration guide to explain the breaking changes and describe how to upgrade.
- Seven new rules have been added:
- Two rules are now autofixable with the
- Three rules have been deprecated in favor of the new
- Three new utility methods have been added to the
SourceCode#getCommentshas been deprecated.
- A new option has been added to the
Changes since v4.0.0-rc.0:
- 3da7b5e Fix: Semi-Style only check for comments when tokens exist (fixes #8696) (#8697) (Reyad Attiyat)
- 3cfe9ee Fix: Add space between async and param on fix (fixes #8682) (#8693) (Reyad Attiyat)