dependabot[bot] opened a new pull request, #76061: URL: https://github.com/apache/airflow/pull/76061
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 78.0.0 to 79.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>v79.0.0</h2> <h2>Breaking</h2> <ul> <li><code>no-top-level-side-effects</code>: Focus on mutations of globals, and remove it from the <code>unopinionated</code> preset (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3915">#3915</a>) 24abac48 <ul> <li>Unknown calls are no longer reported by default. Enable the new <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-top-level-side-effects.md#checkunknowncalls"><code>checkUnknownCalls</code></a> option for stricter checking.</li> <li>Mutations of globals, like <code>document.title = 'x'</code> and <code>Object.assign(globalThis, …)</code>, are now reported, also in declarations and default exports. You may see new reports.</li> </ul> </li> </ul> <h2>Improvements</h2> <ul> <li>Infer types from JSDoc <code>@type</code>, <code>@param</code>, and <code>@returns</code> annotations in rules that use type information (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3941">#3941</a>) 2b4bfab0</li> <li>Handle template literals without expressions like strings in more rules (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3943">#3943</a>) 8bd8c063</li> <li>Autofix more code that contains comments, while keeping the comments (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3939">#3939</a>) 87baf82f</li> <li>Fix autofixes in many rules that could produce broken code or wrong parentheses (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3917">#3917</a>) fed7eac2</li> <li>Make autofixes safer in many rules <ul> <li>Fixes that can change behavior in rare cases are now suggestions, for example in <code>prefer-spread</code>, <code>prefer-math-min-max</code>, <code>prefer-modern-dom-apis</code>, and <code>prefer-switch</code>.</li> </ul> </li> <li>Improve performance 175efaf1 3dd8fd28</li> <li><code>comment-content</code>: Add <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/comment-content.md#ignore"><code>ignore</code></a> option (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3950">#3950</a>) 3fe046e6</li> <li><code>consistent-function-scoping</code>: Ignore functions in Vitest hoisted factories (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3905">#3905</a>) 98912a91</li> <li><code>custom-error-definition</code>: Ignore abstract TypeScript classes (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3934">#3934</a>) ee3501fb</li> <li><code>no-non-function-verb-prefix</code>: Ignore shorthand destructuring (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3926">#3926</a>) 76e5760b</li> <li><code>no-top-level-side-effects</code>: Recognize more config helpers (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3916">#3916</a>) d459c511</li> <li><code>no-useless-coercion</code>: Preserve boolean return types in TypeScript (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3904">#3904</a>) bef15714</li> <li><code>prefer-array-some</code>: Check <code>.find()</code> results used as booleans (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3913">#3913</a>) c957bf3d</li> <li><code>prefer-default-parameters</code>: Skip unsafe logical OR fallbacks (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3951">#3951</a>) bcec97a4</li> <li><code>prefer-includes</code>: Skip incompatible TypeScript search values (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3927">#3927</a>) d66441aa</li> <li><code>prefer-includes-over-repeated-comparisons</code>: Report negated and typed loose comparisons (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3935">#3935</a>) 6e21cb1b</li> <li><code>prefer-includes-over-repeated-comparisons</code>: Preserve TypeScript union narrowing (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3910">#3910</a>) b5c479d8</li> <li><code>prefer-literal-ascii</code>: Preserve escaped trailing spaces in templates (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3911">#3911</a>) 360094bb</li> <li><code>prefer-minimal-ternary</code>: Skip minimizations that break types (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3892">#3892</a>) f022d6d1</li> <li><code>prefer-modern-math-apis</code>: Use suggestions for changes that can affect numeric results (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3914">#3914</a>) 8af7c172</li> <li><code>prefer-simple-condition-first</code>: Improve <code>typeof</code> comparisons and guards (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3948">#3948</a>) ee3edf06</li> <li><code>prefer-simplified-conditions</code>: Handle equivalent logical expressions (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3938">#3938</a>) a0b2788b</li> <li><code>prefer-simplified-conditions</code>: Factor common terms in longer chains and static templates (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3942">#3942</a>) 0d8c8bcb</li> <li><code>prefer-smaller-scope</code>: Check TypeScript type aliases (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3928">#3928</a>) 290d922c</li> <li><code>prefer-string-raw</code>: Preserve TypeScript literal types in autofixes (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3912">#3912</a>) 06115464</li> <li><code>prefer-ternary</code>: Preserve consecutive early-return guards (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3945">#3945</a>) 3fa840fe</li> <li><code>require-post-message-target-origin</code>: Skip incompatible typed methods (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3925">#3925</a>) 387194bd</li> <li><code>throw-new-error</code>: Ignore calls that return functions (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3894">#3894</a>) 5e35def7</li> </ul> <hr /> <p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v78.0.0...v79.0.0">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v78.0.0...v79.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/d078ad9e080d7eba07a1aab65c5faa6461a2eed7"><code>d078ad9</code></a> 79.0.0</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/3fe046e6e091ad536e91525bf803ad1f01d836cf"><code>3fe046e</code></a> <code>comment-content</code>: Add <code>ignore</code> option (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3950">#3950</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/bcec97a430840d620ead254bfd349526675b0fb8"><code>bcec97a</code></a> <code>prefer-default-parameters</code>: Skip unsafe logical OR fallbacks (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3951">#3951</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/ee3edf06ba46b97e5e83e08f87d023171145cb47"><code>ee3edf0</code></a> <code>prefer-simple-condition-first</code>: Improve <code>typeof</code> comparisons and guards (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3948">#3948</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2b4c08cebf477f1b15dacfb73e04fe358a2f7237"><code>2b4c08c</code></a> <code>comment-content</code>: Document ignored backtick text (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3946">#3946</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/3fa840fe7b751ab490171438c3ef7f590d48a33f"><code>3fa840f</code></a> <code>prefer-ternary</code>: Preserve consecutive early-return guards (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3945">#3945</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/8bd8c063b699fc69155fb53051db111b9bc76e95"><code>8bd8c06</code></a> Improve handling of template literals (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3943">#3943</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/0d8c8bcb5facb49d8a233a14ba0d4ecc6b117093"><code>0d8c8bc</code></a> <code>prefer-simplified-conditions</code>: Factor common terms in longer chains and stat...</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2b4bfab048aa4969508f70bfabcdeeb40320d110"><code>2b4bfab</code></a> Support JSDoc type annotations to infer types in multiple rules (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3941">#3941</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/87baf82ffb0f42af004bcf77c01ce4734b8694d6"><code>87baf82</code></a> Fix comment handling in many rules (<a href="https://redirect.github.com/sindresorhus/eslint-plugin-unicorn/issues/3939">#3939</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v78.0.0...v79.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]
