[PR #561] [MERGED] Bump eslint-plugin-unicorn from 42.0.0 to 43.0.2 #2744

Closed
opened 2026-03-07 20:10:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/DavidAnson/markdownlint/pull/561
Author: @dependabot[bot]
Created: 8/15/2022
Status: Merged
Merged: 8/16/2022
Merged by: @DavidAnson

Base: nextHead: dependabot/npm_and_yarn/next/eslint-plugin-unicorn-43.0.2


📝 Commits (3)

  • b42c6c8 Bump eslint-plugin-unicorn from 42.0.0 to 43.0.2
  • fdff3a4 Fix new violations from eslint-plugin-unicorn update.
  • 3dc141d Update external repository tests to account for fixed violation.

📊 Changes

15 files changed (+66 additions, -59 deletions)

View changed files

📝 demo/markdownlint-browser.js (+28 -28)
📝 demo/webpack.config.js (+8 -0)
📝 helpers/helpers.js (+1 -1)
📝 lib/markdownlint.js (+7 -7)
📝 package.json (+1 -1)
📝 schema/build-config-example.js (+2 -2)
📝 schema/build-config-schema.js (+2 -2)
📝 scripts/index.js (+1 -1)
📝 test/markdownlint-test-config.js (+2 -2)
📝 test/markdownlint-test-custom-rules.js (+1 -1)
📝 test/markdownlint-test-extra-type.js (+2 -2)
📝 test/markdownlint-test-helpers.js (+2 -2)
📝 test/markdownlint-test-repos.js (+4 -5)
📝 test/markdownlint-test-scenarios.js (+3 -3)
📝 test/markdownlint-test.js (+2 -2)

📄 Description

Bumps eslint-plugin-unicorn from 42.0.0 to 43.0.2.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v43.0.2

  • prefer-spread: Ignore Array#join().concat() and (a + b).concat() (#1859) ab71971

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.1...v43.0.2

v43.0.1

  • Remove prefer-event-target from the recommended preset 4d2faac
    • EventTarget requires Node.js 16 and we target Node.js 14. We'll enable it again in a year when we can target Node.js 16.

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.0...v43.0.1

v43.0.0

New rules

Breaking

  • Require Node.js 14

Improvements

  • Add prefer-top-level-await rule to recommended preset (#1803) 6f5ecf5
  • Deprecate import-index rule (#1787) 0034e69
  • Update abbreviations to support Next.js functions (#1804) 4b96057
  • text-encoding-identifier-case: Ignore JSX meta[charset="utf-8"] (#1817) c67a70f
  • prefer-number-properties: Check any use of global functions (#1834) 51d7e06
  • prefer-number-properties: Detect usage via global object (#1832) 80c4af2
  • no-array-for-each: Check reassign in for..in and for..of (#1824) d3b2548
  • no-useless-undefined: Ignore ref(undefined) in Vue project (#1828) e7306e5
  • prefer-node-protocol: Always check require() (#1827) 2c914d4
  • no-array-for-each: Improve parameter reassign detection (#1823) 56df468
  • no-array-for-each: Add fix for arrow function body (#1785) 59218e3

Fixes

  • no-array-for-each: Fix auto-fix causing SyntaxError (#1813) 47c8337

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v42.0.0...v43.0.0

Commits

Dependabot compatibility score

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 commands and options

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 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/DavidAnson/markdownlint/pull/561 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 8/15/2022 **Status:** ✅ Merged **Merged:** 8/16/2022 **Merged by:** [@DavidAnson](https://github.com/DavidAnson) **Base:** `next` ← **Head:** `dependabot/npm_and_yarn/next/eslint-plugin-unicorn-43.0.2` --- ### 📝 Commits (3) - [`b42c6c8`](https://github.com/DavidAnson/markdownlint/commit/b42c6c805528c5bb1e1537f8f5df59c73cf7360f) Bump eslint-plugin-unicorn from 42.0.0 to 43.0.2 - [`fdff3a4`](https://github.com/DavidAnson/markdownlint/commit/fdff3a43d5bda0579691f6bc266df5b3a7db7c2e) Fix new violations from eslint-plugin-unicorn update. - [`3dc141d`](https://github.com/DavidAnson/markdownlint/commit/3dc141d5a971f79c306aae2cf997f5a42d3ca3fb) Update external repository tests to account for fixed violation. ### 📊 Changes **15 files changed** (+66 additions, -59 deletions) <details> <summary>View changed files</summary> 📝 `demo/markdownlint-browser.js` (+28 -28) 📝 `demo/webpack.config.js` (+8 -0) 📝 `helpers/helpers.js` (+1 -1) 📝 `lib/markdownlint.js` (+7 -7) 📝 `package.json` (+1 -1) 📝 `schema/build-config-example.js` (+2 -2) 📝 `schema/build-config-schema.js` (+2 -2) 📝 `scripts/index.js` (+1 -1) 📝 `test/markdownlint-test-config.js` (+2 -2) 📝 `test/markdownlint-test-custom-rules.js` (+1 -1) 📝 `test/markdownlint-test-extra-type.js` (+2 -2) 📝 `test/markdownlint-test-helpers.js` (+2 -2) 📝 `test/markdownlint-test-repos.js` (+4 -5) 📝 `test/markdownlint-test-scenarios.js` (+3 -3) 📝 `test/markdownlint-test.js` (+2 -2) </details> ### 📄 Description Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 42.0.0 to 43.0.2. <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>v43.0.2</h2> <ul> <li><code>prefer-spread</code>: Ignore <code>Array#join().concat()</code> and <code>(a + b).concat()</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1859">#1859</a>) ab71971</li> </ul> <p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.1...v43.0.2">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.1...v43.0.2</a></p> <h2>v43.0.1</h2> <ul> <li>Remove <code>prefer-event-target</code> from the recommended preset 4d2faac <ul> <li><code>EventTarget</code> requires Node.js 16 and we target Node.js 14. We'll enable it again in a year when we can target Node.js 16.</li> </ul> </li> </ul> <p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.0...v43.0.1">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v43.0.0...v43.0.1</a></p> <h2>v43.0.0</h2> <h3>New rules</h3> <ul> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-logical-operator-over-ternary.md"><code>prefer-logical-operator-over-ternary</code></a> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1830">#1830</a>) 5d7e622</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-event-target.md"><code>prefer-event-target</code></a> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1792">#1792</a>) 166524a</li> </ul> <h3>Breaking</h3> <ul> <li>Require Node.js 14</li> </ul> <h3>Improvements</h3> <ul> <li>Add <code>prefer-top-level-await</code> rule to recommended preset (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1803">#1803</a>) 6f5ecf5</li> <li>Deprecate <code>import-index</code> rule (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1787">#1787</a>) 0034e69</li> <li>Update abbreviations to support Next.js functions (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1804">#1804</a>) 4b96057</li> <li><code>text-encoding-identifier-case</code>: Ignore JSX <code>meta[charset=&quot;utf-8&quot;]</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1817">#1817</a>) c67a70f</li> <li><code>prefer-number-properties</code>: Check any use of global functions (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1834">#1834</a>) 51d7e06</li> <li><code>prefer-number-properties</code>: Detect usage via global object (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1832">#1832</a>) 80c4af2</li> <li><code>no-array-for-each</code>: Check reassign in <code>for..in</code> and <code>for..of</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1824">#1824</a>) d3b2548</li> <li><code>no-useless-undefined</code>: Ignore <code>ref(undefined)</code> in Vue project (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1828">#1828</a>) e7306e5</li> <li><code>prefer-node-protocol</code>: Always check <code>require()</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1827">#1827</a>) 2c914d4</li> <li><code>no-array-for-each</code>: Improve parameter reassign detection (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1823">#1823</a>) 56df468</li> <li><code>no-array-for-each</code>: Add fix for arrow function body (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1785">#1785</a>) 59218e3</li> </ul> <h3>Fixes</h3> <ul> <li><code>no-array-for-each</code>: Fix auto-fix causing SyntaxError (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1813">#1813</a>) 47c8337</li> </ul> <p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v42.0.0...v43.0.0">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v42.0.0...v43.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/77011aa7abde324b7f3e47c502cac89b17710256"><code>77011aa</code></a> 43.0.2</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/ab719710142146036a4eca55fca419fb8344502d"><code>ab71971</code></a> <code>prefer-spread</code>: Ignore <code>Array#join().concat()</code> and <code>(a + b).concat()</code> (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1859">#1859</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/c32e02e3129f6fdc0c2863f00d69dc69d201f03d"><code>c32e02e</code></a> Update eslint-plugin-eslint-plugin to v5 (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1856">#1856</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/384ff689dad80c774ad52caa4952399b114536a5"><code>384ff68</code></a> 43.0.1</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/4d2faac0a013e4d89d1e7f092baa6bc7d080d398"><code>4d2faac</code></a> Remove <code>prefer-event-target</code> from the recommended preset</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/2ba0335e50c0c085fcff86de41eca53b753761c0"><code>2ba0335</code></a> 43.0.0</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/5d7e622e6563cddb3538f303316324b2ebe17b64"><code>5d7e622</code></a> Add <code>prefer-logical-operator-over-ternary</code> rule (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1830">#1830</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/75c9214405363b7ec7886847f7b47c59bc2cab8e"><code>75c9214</code></a> Update dependencies (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1849">#1849</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/ff286a1f07424a01ce1c8e16af69862f3a8ae2b3"><code>ff286a1</code></a> Update babel (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1848">#1848</a>)</li> <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/commit/ca4ab293eefdf7f3872209504022b0f4a6401f68"><code>ca4ab29</code></a> Fix typo in <code>filename-case</code> docs (<a href="https://github-redirect.dependabot.com/sindresorhus/eslint-plugin-unicorn/issues/1847">#1847</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v42.0.0...v43.0.2">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=42.0.0&new-version=43.0.2)](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 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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-07 20:10:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#2744
No description provided.