Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Update blogpost for v5.0.0 #487

Merged
merged 2 commits into from
Jun 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 17 additions & 3 deletions _posts/2018-06-22-eslint-v5.0.0-released.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,25 @@ tags:
---
# ESLint v5.0.0 released

We just pushed ESLint v5.0.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems a bit odd that the release tooling classified this as a "minor" release (this happened because there were no breaking changes since the last prerelease, but that's probably not the comparison that most readers would expect). Maybe we should fix that for next time.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly related: eslint/eslint-release#23



We just pushed ESLint v5.0.0, 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.

## Highlights

* There are several breaking changes in 5.0.0. We've created a [migration guide](/docs/user-guide/migrating-to-5.0.0) to explain the breaking changes and describe how to upgrade.
* Three new rules have been added:
* [`prefer-object-spread`](/docs/rules/prefer-object-spread)
* [`max-classes-per-file`](/docs/rules/max-classes-per-file)
* [`max-lines-per-function`](/docs/rules/max-lines-per-function)
* The [`CLIEngine.executeOnFiles`](/docs/developer-guide/nodejs-api#cliengineexecuteonfiles) API now has a `globInputPaths` option.
* The [`one-var`](/docs/rules/one-var) rule is now autofixable.
* The [`array-element-newline`](/docs/rules/array-element-newline) rule now has a `"consistent"` option.
* The [`camelcase`](/docs/rules/camelcase) rule now has an `ignoreDestructuring` option.
* The [`valid-jsdoc`](/docs/rules/valid-jsdoc) rule now has a `requireParamType` option.
* The [`func-name-matching`](/docs/rules/func-name-matching) rule now has a `considerPropertyDescriptor` option.

---

Changes since v5.0.0-rc.0:


## Features
Expand Down