From 0da52f244f50ac4242caf9bec0c46cc54d862f0e Mon Sep 17 00:00:00 2001 From: Teddy Katz Date: Fri, 22 Jun 2018 19:52:07 -0700 Subject: [PATCH 1/2] Update blogpost for v5.0.0 --- _posts/2018-06-22-eslint-v5.0.0-released.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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..f8a9a8c62f 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,21 @@ 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. +* One new rule has been added: [`max-lines-per-function`](/docs/rules/max-lines-per-function) +* 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 From c2657c63d814025652213b7fc800b5a669a3dfde Mon Sep 17 00:00:00 2001 From: Teddy Katz Date: Fri, 22 Jun 2018 19:59:05 -0700 Subject: [PATCH 2/2] Add missing features --- _posts/2018-06-22-eslint-v5.0.0-released.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 f8a9a8c62f..870db0a404 100644 --- a/_posts/2018-06-22-eslint-v5.0.0-released.md +++ b/_posts/2018-06-22-eslint-v5.0.0-released.md @@ -12,7 +12,11 @@ We just pushed ESLint v5.0.0, which is a major release upgrade of ESLint. This r ## 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. -* One new rule has been added: [`max-lines-per-function`](/docs/rules/max-lines-per-function) +* 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.