ESLint v4.0.0-alpha.2 released
by Ilya Volodin - 5 May 2017We just pushed ESLint v4.0.0-alpha.2, 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
- ESLint will now validate .eslintrc.* files for unknown properties
Breaking Changes
Enhancements
- 74ab344 Update: check allman-style blocks correctly in indent rule (fixes #8493) (#8499) (Teddy Katz)
- f6256d4 Update: no-extend-native checks global scope refs only (fixes #8461) (#8528) (Kevin Partington)
- 99c56d5 Update: handle multiline parents consistently in indent (fixes #8455) (#8498) (Teddy Katz)
- cf940c6 Update: indent
from
tokens in import statements (fixes #8438) (#8466) (Teddy Katz) - d49acc3 Update: fix no-self-compare false negative on non-literals (fixes #7677) (#8492) (Teddy Katz)
Bug Fixes
- 0a9a90f Fix: max-len doesn't allow comments longer than code (#8532) (Ken Gregory)
- aaa1a81 Fix: avoid creating extra whitespace in brace-style fixer (fixes #7621) (#8491) (Teddy Katz)
Documentation
- b463045 Docs: add typescript-eslint-parser (#8388) (#8534) (薛定谔的猫)
- e52d998 Docs: Configuring Cascading and Hierarchy example correction (#8512) (Cheong Yip)
- e135aa5 Docs: Correct code of conduct link on Readme.md (#8517) (Zander Mackie)
- 9c3da77 Docs: list another related rule in no-undefined (#8467) (Ethan)
- f987814 Docs: Update CHANGELOG.md for v4.0.0-alpha.1 release (#8488) (Kai Cataldo)