ESLint v4.0.0-alpha.1 released
We just pushed ESLint v4.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.
array-callback-returnrule was added to
eslint:recommendedin the last prerelease, but it has been removed from
eslint:recommendedin this prerelease due to false positives that would occur when using methods in a few popular libraries. As a result, this rule will not be in
- Three new utility methods have been added to the
SourceCode#getCommentshas been deprecated.
- One new rule has been added:
no-confusing-arrowrule can now be autofixed.
object-curly-newlinerule has a new option.
- fac53890 Breaking: Remove array-callback-return from recommended (fixes #8428) (#8433) (Kai Cataldo)
- b337738f Update: Add
object-curly-newline(fixes #6488) (#7720) (Evilebot Tnawi)
- 53fefb3b Update: add fix for no-confusing-arrow (#8347) (Mordy Tikotzky)
- 735d02d5 Update: Deprecate sourceCode.getComments() (fixes #8408) (#8434) (Kai Cataldo)
- ac39e3b0 Update: no-unexpected-multiline to flag confusing division (fixes #8469) (#8475) (Teddy Katz)
- 9f540fd2 Update: no-unused-vars false negative about destructuring (fixes #8442) (#8459) (Toru Nagashima)
- b0dadfe3 Docs: Update comments section of Migrating to v4.0.0 (#8486) (Kai Cataldo)
- 973adeb6 Docs: State that functions option only applies in ES2017 (fixes #7809) (#8468) (Thenaesh Elango)
- 741ed393 Docs: Clarify how to run local ESLint installation (#8463) (Kai Cataldo)
- 48700fc8 Docs: Remove extra header line from LICENSE (#8448) (Teddy Katz)
- 0c2a386e Docs: clarify new indent behavior with MemberExpressions (#8432) (Teddy Katz)
- 446b8876 Docs: update space-before-function-paren docs for 4.0 (fixes #8430) (#8431) (Teddy Katz)
- 1c7efbd2 Build: changelog update for 4.0.0-alpha.1 (Kai Cataldo)