Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): Bump eslint-plugin-unicorn from 55.0.0 to 56.0.0 (#326)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 55.0.0 to 56.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/releases">eslint-plugin-unicorn's releases</a>.</em></p> <blockquote> <h2>v56.0.0</h2> <h3>New rules</h3> <ul> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-global-this.md"><code>prefer-global-this</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2410">#2410</a>) 1558cbe</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-math-min-max.md"><code>prefer-math-min-max</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2432">#2432</a>) 7369077</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-existence-index-check.md"><code>consistent-existence-index-check</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2425">#2425</a>) d3e4b80</li> </ul> <h3>Breaking</h3> <ul> <li>Remove <code>better-regex</code> from recommended rules (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2443">#2443</a>) 461b01c <ul> <li><a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2409">Reason</a></li> </ul> </li> </ul> <h3>Improvements</h3> <ul> <li><code>no-useless-undefined</code>: Ignore React 19 <code>useRef</code> calls (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2463">#2463</a>) 5f744e8</li> <li><code>prefer-query-selector</code>: Add support for <code>getElementsByName</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2398">#2398</a>) e511ffd</li> <li><code>prefer-string-slice</code>: Remove unsafe autofix for <code>String#substr()</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2427">#2427</a>) 891842d</li> <li><code>no-for-loop</code>: Remove invalid fix for TypeScript (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2426">#2426</a>) 1e367bb</li> </ul> <p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v55.0.0...v56.0.0">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v55.0.0...v56.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2b469bee475a8f3f2767f4669864acdd89654017"><code>2b469be</code></a> 56.0.0</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/5f744e83cf68456bc9e5590dcd754ca1cbf81e76"><code>5f744e8</code></a> <code>no-useless-undefined</code>: Ignore React 19 <code>useRef</code> calls (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2463">#2463</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/e39ae89fd2c06f1685bc73ba1476783cfc3889b9"><code>e39ae89</code></a> Improve error message for <code>no-new-array</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2459">#2459</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/6a043c25c2cbb3aed0503e171d50d2b2f8a4bb61"><code>6a043c2</code></a> Document <code>reduceRight</code> alternative for <code>no-array-reduce</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2457">#2457</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/1558cbea81bf4476ee27d80724155d991433ce49"><code>1558cbe</code></a> Add <code>prefer-global-this</code> rule (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2410">#2410</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/a5d5562fb084c8445f0d19f945694746b162dbe9"><code>a5d5562</code></a> Update dependencies (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2447">#2447</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/d3e4b805da31c6ed7275e2e2e770b6b0fbcf11c2"><code>d3e4b80</code></a> Add <code>consistent-existence-index-check</code> rule (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2425">#2425</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/461b01cd69c42396ee1bda7ad583c4e2739b5696"><code>461b01c</code></a> Remove <code>better-regex</code> from recommended rules (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2443">#2443</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/891842d539d0d002119e9c476a050a12d3936a75"><code>891842d</code></a> <code>prefer-string-slice</code>: Remove unsafe autofix for <code>String#substr()</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2427">#2427</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/7369077cfe319790c731f42028f00330925a36d7"><code>7369077</code></a> Add <code>prefer-math-min-max</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/2432">#2432</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v55.0.0...v56.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-unicorn&package-manager=npm_and_yarn&previous-version=55.0.0&new-version=56.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
- Loading branch information