Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 0 additions & 5 deletions .changeset/chilly-ravens-cough.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/famous-crews-protect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-ducks-smash.md

This file was deleted.

23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <info@cloudfour.com> (http://cloudfour.com)",
"homepage": "https://github.com/cloudfour/eslint-config",
Expand Down