Skip to content

Commit

Permalink
chore(deps): update dependency eslint-plugin-unicorn to v56 (#168)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

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

---

### Release Notes

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

###
[`v56.0.0`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v56.0.0)

[Compare
Source](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/compare/v55.0.0...v56.0.0)

##### New rules

-
[`prefer-global-this`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-global-this.md)
([#&#8203;2410](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2410))
[`1558cbe`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/commit/1558cbe)
-
[`prefer-math-min-max`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-math-min-max.md)
([#&#8203;2432](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2432))
[`7369077`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/commit/7369077)
-
[`consistent-existence-index-check`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-existence-index-check.md)
([#&#8203;2425](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2425))
[`d3e4b80`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/commit/d3e4b80)

##### Breaking

- Remove `better-regex` from recommended rules
([#&#8203;2443](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2443))
[`461b01c`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/commit/461b01c)
-
[Reason](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2409)

##### Improvements

- `no-useless-undefined`: Ignore React 19 `useRef` calls
([#&#8203;2463](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2463))
[`5f744e8`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/commit/5f744e8)
- `prefer-query-selector`: Add support for `getElementsByName`
([#&#8203;2398](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2398))
[`e511ffd`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/commit/e511ffd)
- `prefer-string-slice`: Remove unsafe autofix for `String#substr()`
([#&#8203;2427](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2427))
[`891842d`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/commit/891842d)
- `no-for-loop`: Remove invalid fix for TypeScript
([#&#8203;2426](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2426))
[`1e367bb`](https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/commit/1e367bb)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/oxc-project/eslint-plugin-oxlint).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45Ny4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 7, 2024
1 parent bc1f7b5 commit f9fd48a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"dedent": "^1.5.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-unicorn": "^55.0.0",
"eslint-plugin-unicorn": "^56.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"memfs": "^4.9.2",
Expand Down
78 changes: 39 additions & 39 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f9fd48a

Please sign in to comment.