Highlights
This is a summary of the major changes you need to know about for this version of ESLint.
Last 2.x Release
This is the last planned 2.x release. The next scheduled release is 3.0.0, which contains several small breaking changes. While there are breaking changes, we expect the impact to users to be very minimal. You can review the 3.0.0 plan for more information.
More Autofixing
We are continuing to add autofixing to more rules, and this release we added autofixing to object-shorthand
, padded-blocks
, and no-multiple-empty-lines
.
Enhancements
- da30cf9 Update: Add fixer for object-shorthand (fixes #6412) (#6418) (Nick Heiner)
- 1316db0 Update: Add
never
option forfunc-names
(fixes #6059) (#6392) (alberto) - 1c123e2 Update: Add autofix for
padded-blocks
(fixes #6320) (#6393) (alberto) - 5122f73 Update: no-multiple-empty-lines fixer (fixes #6225) (#6226) (Ruurd Moelker)
Bug Fixes
- cf223dd Fix: add test for a syntax error (fixes #6013) (#6378) (Toru Nagashima)
- 8ec89c8 Fix:
--print-config
return config inside subdir (fixes #6329) (#6385) (alberto) - 4f73240 Fix:
object-curly-newline
multiline with comments (fixes #6381) (#6396) (Toru Nagashima) - ed84c4c Fix: improve
newline-per-chained-call
message (fixes #6340) (#6360) (Toru Nagashima) - fb49c7f Fix: nested
extends
with relative path (fixes #6358) (#6359) (Toru Nagashima) - cfdd524 Fix: allow semi as braceless body of statements (fixes #6386) (#6391) (alberto)
Documentation
- 852b6df Docs: Delete empty table of links from Code Path Analysis (#6423) (Mark Pedrotti)
- c2b5277 Docs: Add gitter chat link to Reporting Bugs (#6430) (Mark Pedrotti)
- 73a9a6d Docs: Fix links in Configuring ESLint (#6421) (Mark Pedrotti)
- 9ea4e44 Docs: Update parser reference to
espree
instead ofesprima
(#6404) (alberto) - 7f57467 Docs: Make
fix
param clearer (fixes #6366) (#6367) (Nick Heiner) - 0e7ce72 Docs: Fix rest-spread-spacing’s name (#6365) (cody)
- 6b08cfc Docs: key-spacing fixable documenation notes (fixes #6375) (#6376) (Ruurd Moelker)
- 4b4be3b Docs:
max-lines
option: fixskipComments
typo (#6374) (Jordan Harband) - 20ab4f6 Docs: Fix wrong link in object-curly-newline (#6373) (Grant Snodgrass)
- 412ce8d Docs: Fix broken links in no-mixed-operators (#6372) (Grant Snodgrass)