ESLint v5.1.0 released
by Teddy Katz - 8 July 2018We just pushed ESLint v5.1.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
Highlights
- The
no-catch-shadow
rule has been deprecated in favor ofno-shadow
.
Enhancements
- 143890a46 Update: Adjust grammar of error/warnings fixable (#10546) (Matt Mischuk)
- b7addf6fe Update: deprecate no-catch-shadow (fixes #10466) (#10526) (Toru Nagashima)
Bug Fixes
- b2df73876 Fix: prefer-object-spread duplicated comma (fixes #10512, fixes #10532) (#10524) (Toru Nagashima)
- d8c3a25f5 Fix: wrap-regex doesn't work in some expression(fixes #10573) (#10576) (薛定谔的猫)
- 63f36f783 Fix: sort-keys in an object that contains spread (fixes #10261) (#10495) (katerberg)
- 601a5c4ae Fix: Prefer-const rule crashing on array destructuring (fixes #10520) (#10527) (Michael Mason)
- 02efeac65 Fix: do not fail on nested unknown operators (#10561) (Rubén Norte)
- e862dc3a8 Fix: Remove autofixer for no-debugger (fixes #10242) (#10509) (Teddy Katz)
Documentation
- 114f42ee5 Docs: Clarify option defaults in max-lines-per-function docs (#10569) (Chris Harwood)
- 100f1beb2 Docs: add note about release issues to readme (#10572) (Teddy Katz)
- 076a6b6db Docs: add actionable fix to no-irregular-whitespace (#10558) (Matteo Collina)
- de663ec14 Docs: Only successfully linted files are cached (fixes #9802) (#10557) (Kevin Partington)
- 8a2ff2c2e Docs: adding a section about disable rules for some files (#10536) (Wellington Soares)
- f22a3f80a Docs: fix a word in no-implied-eval (#10539) (Dan Homola)
- 20d8bbd49 Docs: add missing paragraph about "custom parsers" (#10547) (Pig Fang)
Dependency Upgrades
Build Related
- 7328f9918 Build: package.json update for eslint-config-eslint release (ESLint Jenkins)
- b161f6b62 Build: Include prerelease install info in release blog post (#10463) (Kevin Partington)