ESLint v2.6.0 released
by Nicholas C. Zakas - 1 April 2016We just pushed ESLint v2.6.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
Enhancements
- 7aacba7 Update: Deprecate option
maximum
in favor ofmax
(fixes #5685) (Vitor Balocco) - 9b73ffd Update:
destructuring
option ofprefer-const
rule (fixes #5594) (Toru Nagashima) - 24a61a4 Update: make
no-useless-escape
allowing line breaks (fixes #5689) (Toru Nagashima) - f59d91d Update: no-param-reassign error msgs (fixes #5705) (Isaac Levy)
- 8d0cd0d Update: Basic valid-jsdoc default parameter support (fixes #5658) (Tom Andrews)
Bug Fixes
- ce2accd Fix: vars-on-top now accepts exported variables (fixes #5711) (Olmo Kramer)
- 5fe6fca Fix: no-useless-escape \B regex escape (fixes #5750) (Onur Temizkan)
- 12902c5 Fix: valid-jsdoc crash w/ Field & Array Type (fixes #5745) (fixes #5746) (Burak Yigit Kaya)
- d736bc2 Fix: Treat SwitchCase like a block in lines-around-comment (fixes #5718) (Scott O'Hara)
- 4ecd45e Fix: Ensure proper lookup of config files (fixes #5175, fixes #5468) (Nicholas C. Zakas)
- 088e26b Fix: Update doctrine to allow hyphens in JSDoc names (fixes #5612) (Kai Cataldo)
- c1b16cd Fix: Object spread throws error in key-spacing rule. (fixes #5724) (Ziad El Khoury Hanna)
- cb0f0be Fix: Lint issue with
valid-jsdoc
rule (refs #5188) (Gyandeep Singh) - a35f127 Fix: Lint for eslint project in regards to vars (refs #5188) (Gyandeep Singh)
- d9ab4f0 Fix: Windows scoped package configs (fixes #5644) (Nicholas C. Zakas)
Documentation
- 8ac9206 Docs: Typo in
sort-imports
(alberto) - 2c8b65a Docs: Edit examples for a few rules (Mark Pedrotti)
- 3091613 Docs: Correct explanation about properties (James Monger)