dependabot[bot] opened a new pull request, #513: URL: https://github.com/apache/arrow-js/pull/513
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 59.0.1 to 78.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>v78.0.0</h2> <h2>New rules</h2> <ul> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-default-arguments.md"><code>no-unnecessary-default-arguments</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3885">#3885</a>) 1059f09b</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-repeated-call-wrappers.md"><code>no-repeated-call-wrappers</code></a> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3836">#3836</a>) c4fd1feb</li> </ul> <h2>Improvements</h2> <ul> <li>Add <a href="https://github.com/soml-lang/eslint-soml">SOML</a> support, including a <a href="https://github.com/sindresorhus/eslint-plugin-unicorn#non-javascript-recommended-configs"><code>recommended-soml</code></a> preset (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3870">#3870</a>) 7419b835</li> <li>Report code that contains comments instead of ignoring it (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3847">#3847</a>) 003f0bdc <ul> <li>Many rules skipped code with comments. They now report it, and only withhold fixes that would remove comments. You may see new reports.</li> </ul> </li> <li>Fix cyclic resolution in type-aware checks (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3826">#3826</a>) 5e77e19e</li> <li><code>prefer-default-parameters</code>: Add <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-default-parameters.md#checkfallbackexpressions"><code>checkFallbackExpressions</code></a> option (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3837">#3837</a>) 71bbf59a</li> <li><code>prefer-ternary</code>: Add <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-ternary.md#options"><code>checkVaryingBase</code> and <code>checkComputedMemberAccess</code></a> options (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3869">#3869</a>) 1af3c2b2</li> <li><code>consistent-boolean-name</code>: Allow <code>does</code> prefix by default (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3853">#3853</a>) cfad028d</li> <li><code>consistent-boolean-name</code>: Recognize promise-returning functions (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3879">#3879</a>) 769e3b87</li> <li><code>consistent-boolean-name</code>: Fix cyclic type parameter resolution (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3821">#3821</a>) 5c4808ba</li> <li><code>no-asterisk-prefix-in-documentation-comments</code>: Remove shared indentation (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3820">#3820</a>) a92aee19</li> <li><code>no-await-in-promise-methods</code>: Clarify the message for nested <code>await</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3867">#3867</a>) 8f73d539</li> <li><code>no-immediate-mutation</code>: Combine a declaration with an assignment that follows it immediately (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3851">#3851</a>) 811e4678</li> <li><code>no-negated-condition</code>: Support <code>&&</code> and <code>||</code> chains of negated operands (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3834">#3834</a>) 15bfade7</li> <li><code>no-top-level-side-effects</code>: Allow known pure imported helpers, like <code>defineConfig()</code> and React <code>memo()</code>, and check default-exported expressions (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3822">#3822</a>) 3826236d</li> <li><code>no-unnecessary-parameters</code>: Fix false positive for recursive defaults (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3844">#3844</a>) e2d8d0ff</li> <li><code>no-unnecessary-parameters</code>: Ignore parameters named by type predicates (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3859">#3859</a>) f0c631ce</li> <li><code>no-using-resource-escape</code>: Check TypeScript instantiation expressions (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3833">#3833</a>) 7a9f7df1</li> <li><code>prefer-at</code>: Fix false positives for DOM collections (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3842">#3842</a>) ca78a7aa</li> <li><code>prefer-combined-guards</code>: Combine non-literal exits in TypeScript when type information is available (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3860">#3860</a>) 2bcc7be6</li> <li><code>prefer-default-parameters</code>: Support static template literal fallbacks (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3835">#3835</a>) 3d8b40a5</li> <li><code>prefer-default-parameters</code>: Support fallbacks to earlier bindings (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3840">#3840</a>) d4bfc1cf</li> <li><code>prefer-default-parameters</code>: Handle nullable fallback types (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3858">#3858</a>) d75786f7</li> <li><code>prefer-early-return</code>, <code>prefer-continue</code>: Suggest opposite relational comparisons (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3873">#3873</a>) de2e6daa</li> <li><code>prefer-logical-operator-over-ternary</code>: Handle non-boolean conditions (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3843">#3843</a>) 5c4d50cf</li> <li><code>prefer-minimal-ternary</code>: Ignore formatting differences in shared expressions (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3841">#3841</a>) b0c21423</li> <li><code>prefer-minimal-ternary</code>: Prevent unsafe TypeScript object autofixes (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3846">#3846</a>) 2f33c916</li> <li><code>prefer-observer-apis</code>: Check <code>let</code> and <code>var</code> listener functions, and ignore reassigned listeners (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3833">#3833</a>) 7a9f7df1</li> <li><code>prefer-private-class-fields</code>: Do not autofix reassigned methods, and suggest private arrow functions for bound methods (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3823">#3823</a>) 6f0f4bb8</li> <li><code>prefer-scoped-selector</code>: Ignore queries on more non-element roots, like <code>ownerDocument</code> and <code>getRootNode()</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3833">#3833</a>) 7a9f7df1</li> <li><code>prefer-spread</code>: Prevent unsafe TypeScript autofixes (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3882">#3882</a>) 21e99ff8</li> <li><code>prefer-ternary</code>: Support destructuring assignments (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3852">#3852</a>) e29d1eee</li> <li><code>prefer-ternary</code>: Support statements that differ in only one part, like <code>call(test ? a : b)</code> (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3869">#3869</a>) 1af3c2b2</li> <li><code>prefer-top-level-await</code>: Allow cached promise assignments (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3819">#3819</a>) 2fb8eb60</li> <li><code>prefer-top-level-await</code>: Avoid false positives on non-promise calls (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3883">#3883</a>) 3f125f14</li> <li><code>relative-url-style</code>: Support complex Markdown labels, embedded HTML in Markdown, JSX, <code>URL.canParse()</code>, <code>URL.parse()</code>, and more HTML attributes (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3854">#3854</a>) 2760ce46</li> <li><code>require-module-specifiers</code>: Allow bare <code>export {}</code> in declaration files (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3866">#3866</a>) e7274810</li> <li><code>template-indent</code>: Ignore templates with content on the opening line (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3868">#3868</a>) 921dd8c3</li> </ul> <hr /> <p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v77.0.0...v78.0.0">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v77.0.0...v78.0.0</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/843495c2299d2e0430a88f0b085da9f1ea8fdfdf"><code>843495c</code></a> 78.0.0</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/1059f09bd8c8ab8dafcc31fef7ca3604019fdd43"><code>1059f09</code></a> Add <code>no-unnecessary-default-arguments</code> rule (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3885">#3885</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/624887f2caeb4c6428e575fcfa0df576b320fb47"><code>624887f</code></a> <code>consistent-boolean-name</code>: Explain why <code>do</code> is excluded (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3884">#3884</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/3f125f14cc8a526bc5070f1e9efca4a8400aaa82"><code>3f125f1</code></a> <code>prefer-top-level-await</code>: Avoid false positives on non-promise calls (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3883">#3883</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/21e99ff8005a343b797d5a2b1344a95747422890"><code>21e99ff</code></a> <code>prefer-spread</code>: Prevent unsafe TypeScript autofixes (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3882">#3882</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/769e3b87da2a569976266851cb526aafe73a9194"><code>769e3b8</code></a> <code>consistent-boolean-name</code>: Recognize promise-returning functions (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3879">#3879</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/9eadb6052b12f45b1ebe87c1163f6565365708f5"><code>9eadb60</code></a> <code>prefer-simple-condition-first</code>: Clarify property access condition classifica...</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/de2e6daa5fe9e08563f5aedc8689cb3e7a9e3967"><code>de2e6da</code></a> <code>prefer-early-return</code>, <code>prefer-continue</code>: Suggest opposite relational compari...</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/7419b835a46bdc691ac5635721bd0538f299f21f"><code>7419b83</code></a> Add SOML support (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3870">#3870</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/1af3c2b2ce376c215db339fcf5a11c83528be1ca"><code>1af3c2b</code></a> <code>prefer-ternary</code>: Minimize matching branch expressions (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3869">#3869</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v59.0.1...v78.0.0">compare view</a></li> </ul> </details> <br /> [](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 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> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
