chore: bump up eslint-plugin-unicorn version to v51 (#5810)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [eslint-plugin-unicorn](https://togithub.com/sindresorhus/eslint-plugin-unicorn) | [`^50.0.0` -> `^51.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/50.0.0/51.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-unicorn/51.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-unicorn/51.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-unicorn/50.0.0/51.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-unicorn/50.0.0/51.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)</summary>

### [`v51.0.0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v51.0.0)

[Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v50.0.1...v51.0.0)

##### Breaking

-   `consistent-destructuring`: Remove from `recommended` preset ([#&#8203;2260](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2260))  [`702d51b`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/702d51b)

##### Improvements

-   `no-array-method-this-argument`: Check `Array.from()` ([#&#8203;2262](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2262))  [`797caee`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/797caee)

##### Fixes

-   `no-thenable`: Fix crash on `{[Symbol.prototype]: 0}` ([#&#8203;2248](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2248))  [`3c7d7c0`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3c7d7c0)
-   `prefer-prototype-methods`: Fix argument of `isMethodCall` ([#&#8203;2247](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2247))  [`3b504fa`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3b504fa)

### [`v50.0.1`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v50.0.1)

[Compare Source](https://togithub.com/sindresorhus/eslint-plugin-unicorn/compare/v50.0.0...v50.0.1)

##### Fixes

-   `no-unnecessary-polyfills`: Fix missing dependency error ([#&#8203;2242](https://togithub.com/sindresorhus/eslint-plugin-unicorn/issues/2242))  [`3df1606`](https://togithub.com/sindresorhus/eslint-plugin-unicorn/commit/3df16068)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
This commit is contained in:
LongYinan 2024-02-06 09:42:03 +00:00
parent 005c02f148
commit a84a91d896
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99
2 changed files with 6 additions and 6 deletions

View File

@ -84,7 +84,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sonarjs": "^0.23.0",
"eslint-plugin-unicorn": "^50.0.0",
"eslint-plugin-unicorn": "^51.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-plugin-vue": "^9.18.1",
"fake-indexeddb": "5.0.2",

View File

@ -561,7 +561,7 @@ __metadata:
eslint-plugin-react-hooks: "npm:^4.6.0"
eslint-plugin-simple-import-sort: "npm:^10.0.0"
eslint-plugin-sonarjs: "npm:^0.23.0"
eslint-plugin-unicorn: "npm:^50.0.0"
eslint-plugin-unicorn: "npm:^51.0.0"
eslint-plugin-unused-imports: "npm:^3.0.0"
eslint-plugin-vue: "npm:^9.18.1"
fake-indexeddb: "npm:5.0.2"
@ -20083,9 +20083,9 @@ __metadata:
languageName: node
linkType: hard
"eslint-plugin-unicorn@npm:^50.0.0":
version: 50.0.0
resolution: "eslint-plugin-unicorn@npm:50.0.0"
"eslint-plugin-unicorn@npm:^51.0.0":
version: 51.0.0
resolution: "eslint-plugin-unicorn@npm:51.0.0"
dependencies:
"@babel/helper-validator-identifier": "npm:^7.22.20"
"@eslint-community/eslint-utils": "npm:^4.4.0"
@ -20105,7 +20105,7 @@ __metadata:
strip-indent: "npm:^3.0.0"
peerDependencies:
eslint: ">=8.56.0"
checksum: 10/09d069bac3d4c7d3d3d4ddf8a9992718cd1acc6bbba99cfcb0fb581d9dd0d64378c55d6cc5579aadf23d199c53b539a4351446e0855b363c95e8926be15c95e6
checksum: 10/cf875cf673bbc3e515bce5248f232d4a7a548d8c649f5cf653822a612e84532b4f190d9564a191c44054dcf8b7811f7e2bf64da39885a1a9ec123745237c818e
languageName: node
linkType: hard