diff --git a/_posts/2018-06-22-eslint-v5.0.0-released.md b/_posts/2018-06-22-eslint-v5.0.0-released.md index bb37d87e87..870db0a404 100644 --- a/_posts/2018-06-22-eslint-v5.0.0-released.md +++ b/_posts/2018-06-22-eslint-v5.0.0-released.md @@ -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. - - +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