From 8598d7de3f0f87dc1d3b81a3b731267034fd836a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 30 Jun 2022 11:15:47 -0700 Subject: [PATCH] Publish Next Version (#393) Co-authored-by: github-actions[bot] --- .changeset/chilly-ravens-cough.md | 5 ----- .changeset/famous-crews-protect.md | 18 ------------------ .changeset/forty-ducks-smash.md | 5 ----- CHANGELOG.md | 23 +++++++++++++++++++++++ package.json | 2 +- 5 files changed, 24 insertions(+), 29 deletions(-) delete mode 100644 .changeset/chilly-ravens-cough.md delete mode 100644 .changeset/famous-crews-protect.md delete mode 100644 .changeset/forty-ducks-smash.md diff --git a/.changeset/chilly-ravens-cough.md b/.changeset/chilly-ravens-cough.md deleted file mode 100644 index 1a01363b..00000000 --- a/.changeset/chilly-ravens-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudfour/eslint-plugin': major ---- - -Disallow the use of variables before they are defined. This rule was previously enabled for `let` and `const` declarations, and now it is also enabled for `function`s, `class`es, and `var`s. diff --git a/.changeset/famous-crews-protect.md b/.changeset/famous-crews-protect.md deleted file mode 100644 index 0742df44..00000000 --- a/.changeset/famous-crews-protect.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -'@cloudfour/eslint-plugin': major ---- - -Update eslint-plugin-unicorn to v43 - -**New Rules** - -- [`@cloudfour/unicorn/prefer-event-target`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-event-target.md) -- [`@cloudfour/unicorn/prefer-logical-operator-over-ternary`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-logical-operator-over-ternary.md) - -**Newly Enabled Rules** - -- [`@cloudfour/unicorn/prefer-event-target`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-event-target.md) -- [`@cloudfour/unicorn/prefer-logical-operator-over-ternary`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-logical-operator-over-ternary.md) -- [`@cloudfour/unicorn/prefer-top-level-await`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-top-level-await.md) - -Also, the [`prefer-node-protocol`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-node-protocol.md) rule has been updated to always apply to `require()` statements. diff --git a/.changeset/forty-ducks-smash.md b/.changeset/forty-ducks-smash.md deleted file mode 100644 index 7162bd58..00000000 --- a/.changeset/forty-ducks-smash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudfour/eslint-plugin': major ---- - -Update `ecmaVersion` to 2022 for ESLint parser diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c804e9b..df735ca6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # @cloudfour/eslint-plugin +## 21.0.0 + +### Major Changes + +- [#392](https://github.com/cloudfour/eslint-config/pull/392) [`a7d5860`](https://github.com/cloudfour/eslint-config/commit/a7d58606b38b1ad89d72a78e1cfcbea36079c0dd) Thanks [@Paul-Hebert](https://github.com/Paul-Hebert)! - Disallow the use of variables before they are defined. This rule was previously enabled for `let` and `const` declarations, and now it is also enabled for `function`s, `class`es, and `var`s. + +* [#395](https://github.com/cloudfour/eslint-config/pull/395) [`ec2c2f3`](https://github.com/cloudfour/eslint-config/commit/ec2c2f382a4d447b5f5a4b5931459c3eda227858) Thanks [@renovate](https://github.com/apps/renovate)! - Update eslint-plugin-unicorn to v43 + + **New Rules** + + - [`@cloudfour/unicorn/prefer-event-target`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-event-target.md) + - [`@cloudfour/unicorn/prefer-logical-operator-over-ternary`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-logical-operator-over-ternary.md) + + **Newly Enabled Rules** + + - [`@cloudfour/unicorn/prefer-event-target`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-event-target.md) + - [`@cloudfour/unicorn/prefer-logical-operator-over-ternary`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-logical-operator-over-ternary.md) + - [`@cloudfour/unicorn/prefer-top-level-await`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-top-level-await.md) + + Also, the [`prefer-node-protocol`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v43.0.0/docs/rules/prefer-node-protocol.md) rule has been updated to always apply to `require()` statements. + +- [#395](https://github.com/cloudfour/eslint-config/pull/395) [`ec2c2f3`](https://github.com/cloudfour/eslint-config/commit/ec2c2f382a4d447b5f5a4b5931459c3eda227858) Thanks [@renovate](https://github.com/apps/renovate)! - Update `ecmaVersion` to 2022 for ESLint parser + ## 20.0.2 ### Patch Changes diff --git a/package.json b/package.json index 50137ddb..c9b9a6c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cloudfour/eslint-plugin", - "version": "20.0.2", + "version": "21.0.0", "description": "Cloud Four's shareable ESLint configuration", "author": "Cloud Four (http://cloudfour.com)", "homepage": "https://github.com/cloudfour/eslint-config",