renovatemajor #111

Merged
root merged 1 commits from renovate into master 2026-06-22 17:59:50 +00:00
Contributor

npm

eslint-plugin-sonarjs

  • ^4.0.3 => ^4.1.0 (dvf)

Release notes - SonarJS - 13.0

Feature

JS-1501 Move MAIN/TEST fallback heuristic to linter layer; remove rule-level filename gating
JS-1678 S5845: Assertions comparing incompatible types should not be made
JS-1686 S1244: Floating point numbers should not be tested for equality
JS-1687 S5906: The most specific assertion should be used
JS-1715 Support SONAR-RESOLVE for JS/TS/CSS
JS-1767 issue-feedback-dashboard: Update rule performance metrics data format
JS-1774 issue-feedback-dashboard: Add team-level 90-day rule performance benchmarks
JS-1862 S8754: Test titles should be unique within the same suite
JS-1871 S8780: Async test assertions should be awaited or returned
JS-1873 S8781: Test and suite titles should not be empty or whitespace-only
JS-1880 Create rule S8782: Lifecycle hooks should be declared before test cases
JS-1883 Forced browser interactions should not bypass actionability checks
JS-1890 Create rule S8783: Forced browser interactions should not bypass actionability checks

False Positive

JS-1181 Fix FP on S6767: Props forwarded via spread or used in helper functions
JS-1394 Fix FP on S6767: Props reported unused when consumed through a TypeScript/ES decorator
JS-1663 Fix FP on S2094: Data container classes with property initialization
JS-1695 Fix FP on S6757: Class components flagged when using 'this' in callbacks
JS-1706 Fix FP on S5868: Unicode in variables concatenated into regex character classes
JS-1707 Fix FP on S5868: Unicode ranges flagged as grapheme clusters in character classes
JS-1754 Fix FP on S6551: toString() calls guarded by custom implementation checks
JS-1775 Fix FP on S4782: Fix S4782: false positive when optional property type is exactly undefined
JS-1792 Fix FP on S6747: tw attribute used by @vercel/og and twin.macro libraries
JS-1801 Fix FP on S7766: Math.min/max suggested for custom object comparisons
JS-1810 S6281: Adjust detection logic for AWS CDK BlockPublicAccess changes
JS-1820 Fix FP on S7739: Yup .when() method's {is, then, otherwise} config pattern

False Negative

JS-1789 Fix S4782 false negative when optional property type alias includes undefined

eslint-plugin-unicorn

  • ^67.0.0 => ^68.0.0 (dvf)

Breaking

Awesome

Now 300+ rules 🎉

New rules

Improvements

  • Improve rule performance (#3339) 42abe749
  • Harden rules (#3305) 34ca8f6b
  • Harden rules (#3299) d7ce07ec
  • prefer-short-arrow-method: Remove from recommended preset (#3345) 0cfd77ab
  • prefer-type-literal-last: Remove from unopinionated preset and stop checking intersection types (#3320) 447c665f
  • consistent-boolean-name: Do not check destructured bindings (#3324) fb0cfe06
  • logical-assignment-operators: Do not assume the base rule's defaultOptions exist (#3321) 253e25ff
  • logical-assignment-operators: Improve error message (#3302) 3ec8fec6
  • name-replacements: Add more default replacements (#3365) f968bf39
  • new-for-builtins: Cover more builtins (#3361) e04ac43d
  • no-array-splice: Only report fresh, non-escaping local arrays (#3301) babb873f
  • no-break-in-nested-loop: Handle unlabeled continue in nested switch statements (#3335) ca893ba6
  • no-declarations-before-early-exit: Ignore initializers containing await or yield (#3303) 6d98190d
  • no-incorrect-template-string-interpolation: Remove from unopinionated preset and fix false-positive (#3319) 39dc5466
  • no-manually-wrapped-comments: Ignore some more comments (#3292) a545dfe5
  • no-named-default: Don't drop comments in autofix (#3306) 44e73611
  • no-unsafe-property-key: Allow intrinsic string-mapping types as keys (#3343) ba6020fb
  • no-useless-coercion: Flag +value, value + '', and value.toString() idioms (#3338) 23a52f62
  • no-useless-undefined: Flag return undefined for void return type (#3334) 488d5e30
  • prefer-array-find: Add .filter(…).slice(-1) support (#3360) b6ea1e20
  • prefer-early-return: Fix lexical declaration autofixes (#3325) e7771bd8
  • prefer-identifier-import-export-specifiers: Check import attribute keys (#3287) fec43d23
  • prefer-includes-over-repeated-comparisons: Ignore distinct expressions compared against undefined (#3308) 78858ec9
  • prefer-minimal-ternary: Report dynamic computed-key swaps (#3300) 72879c46
  • prefer-number-properties: Add parseFloat support (#3307) 4b891d35
  • prefer-object-iterable-methods: Preserve TypeScript casts on value access (#3327) d3a4d394

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v67.0.0...v68.0.0

lint-staged

  • ^17.0.7 => ^17.0.8 (dvf)

Patch Changes

  • #1809 179b437 - Fix lint-staged discarding the ongoing merge conflict status (.git/MERGE_HEAD) when using the --hide-unstaged or --hide-all options.

  • #1811 3d0b2c0 - Fix issues with Git commands that are successful but also emit warnings to stderr, by ignoring the stderr output completely when the process exits with code 0. This was the behavior when using nano-spawn and execa, but when switching to tinyexec in 16.3.0 both stdout and stderr were used as interleaved output.

<h1>npm</h1> <h2>eslint-plugin-sonarjs</h2> <ul> <li> ^4.0.3 => ^4.1.0 (dvf)</li> </ul> > <h1>Release notes - SonarJS - 13.0</h1> > <h3>Feature</h3> > <p><a href="https://sonarsource.atlassian.net/browse/JS-1501">JS-1501</a> Move MAIN/TEST fallback heuristic to linter layer; remove rule-level filename gating<br><a href="https://sonarsource.atlassian.net/browse/JS-1678">JS-1678</a> S5845: Assertions comparing incompatible types should not be made<br><a href="https://sonarsource.atlassian.net/browse/JS-1686">JS-1686</a> S1244: Floating point numbers should not be tested for equality<br><a href="https://sonarsource.atlassian.net/browse/JS-1687">JS-1687</a> S5906: The most specific assertion should be used<br><a href="https://sonarsource.atlassian.net/browse/JS-1715">JS-1715</a> Support SONAR-RESOLVE for JS/TS/CSS<br><a href="https://sonarsource.atlassian.net/browse/JS-1767">JS-1767</a> issue-feedback-dashboard: Update rule performance metrics data format<br><a href="https://sonarsource.atlassian.net/browse/JS-1774">JS-1774</a> issue-feedback-dashboard: Add team-level 90-day rule performance benchmarks<br><a href="https://sonarsource.atlassian.net/browse/JS-1862">JS-1862</a> S8754: Test titles should be unique within the same suite<br><a href="https://sonarsource.atlassian.net/browse/JS-1871">JS-1871</a> S8780: Async test assertions should be awaited or returned<br><a href="https://sonarsource.atlassian.net/browse/JS-1873">JS-1873</a> S8781: Test and suite titles should not be empty or whitespace-only<br><a href="https://sonarsource.atlassian.net/browse/JS-1880">JS-1880</a> Create rule S8782: Lifecycle hooks should be declared before test cases<br><a href="https://sonarsource.atlassian.net/browse/JS-1883">JS-1883</a> Forced browser interactions should not bypass actionability checks<br><a href="https://sonarsource.atlassian.net/browse/JS-1890">JS-1890</a> Create rule S8783: Forced browser interactions should not bypass actionability checks</p> > <h3>False Positive</h3> > <p><a href="https://sonarsource.atlassian.net/browse/JS-1181">JS-1181</a> Fix FP on S6767: Props forwarded via spread or used in helper functions<br><a href="https://sonarsource.atlassian.net/browse/JS-1394">JS-1394</a> Fix FP on S6767: Props reported unused when consumed through a TypeScript/ES decorator<br><a href="https://sonarsource.atlassian.net/browse/JS-1663">JS-1663</a> Fix FP on S2094: Data container classes with property initialization<br><a href="https://sonarsource.atlassian.net/browse/JS-1695">JS-1695</a> Fix FP on S6757: Class components flagged when using &#39;this&#39; in callbacks<br><a href="https://sonarsource.atlassian.net/browse/JS-1706">JS-1706</a> Fix FP on S5868: Unicode in variables concatenated into regex character classes<br><a href="https://sonarsource.atlassian.net/browse/JS-1707">JS-1707</a> Fix FP on S5868: Unicode ranges flagged as grapheme clusters in character classes<br><a href="https://sonarsource.atlassian.net/browse/JS-1754">JS-1754</a> Fix FP on S6551: toString() calls guarded by custom implementation checks<br><a href="https://sonarsource.atlassian.net/browse/JS-1775">JS-1775</a> Fix FP on S4782: Fix S4782: false positive when optional property type is exactly undefined<br><a href="https://sonarsource.atlassian.net/browse/JS-1792">JS-1792</a> Fix FP on S6747: <code>tw</code> attribute used by @vercel/og and twin.macro libraries<br><a href="https://sonarsource.atlassian.net/browse/JS-1801">JS-1801</a> Fix FP on S7766: Math.min/max suggested for custom object comparisons<br><a href="https://sonarsource.atlassian.net/browse/JS-1810">JS-1810</a> S6281: Adjust detection logic for AWS CDK BlockPublicAccess changes<br><a href="https://sonarsource.atlassian.net/browse/JS-1820">JS-1820</a> Fix FP on S7739: Yup .when() method&#39;s {is, then, otherwise} config pattern</p> > <h3>False Negative</h3> > <p><a href="https://sonarsource.atlassian.net/browse/JS-1789">JS-1789</a> Fix S4782 false negative when optional property type alias includes <code>undefined</code></p> <h2>eslint-plugin-unicorn</h2> <ul> <li> ^67.0.0 => ^68.0.0 (dvf)</li> </ul> > <h2>Breaking</h2> > <ul> > <li>Rename <code>prevent-abbreviations</code> rule to <a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/name-replacements.md"><code>name-replacements</code></a> (#3362) af0158dc</li> > </ul> > <h2>Awesome</h2> > <p>Now 300+ rules 🎉</p> > <h2>New rules</h2> > <ul> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/consistent-conditional-object-spread.md"><code>consistent-conditional-object-spread</code></a> (#3326) 8aa1e0de</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/default-export-style.md"><code>default-export-style</code></a> (#3364) 0015e811</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-accidental-bitwise-operator.md"><code>no-accidental-bitwise-operator</code></a> (#3318) af2661ef</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-concat-in-loop.md"><code>no-array-concat-in-loop</code></a> (#3350) 4a1f65c1</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-front-mutation.md"><code>no-array-front-mutation</code></a> (#3323) d8302bd7</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-sort-for-min-max.md"><code>no-array-sort-for-min-max</code></a> (#3351) e4b6666e</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-boolean-sort-comparator.md"><code>no-boolean-sort-comparator</code></a> (#3368) 3be859c4</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-chained-comparison.md"><code>no-chained-comparison</code></a> (#3310) c29e211a</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-collection-bracket-access.md"><code>no-collection-bracket-access</code></a> (#3286) 6ccd6946</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-constant-zero-expression.md"><code>no-constant-zero-expression</code></a> (#3311) 134eea2d</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-double-comparison.md"><code>no-double-comparison</code></a> (#3329) ae4d7d76</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-duplicate-if-branches.md"><code>no-duplicate-if-branches</code></a> (#3346) 94b8c3b7</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-duplicate-logical-operands.md"><code>no-duplicate-logical-operands</code></a> (#3348) af07fd83</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-impossible-length-comparison.md"><code>no-impossible-length-comparison</code></a> (#3342) 84dfd8be</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-character-comparison.md"><code>no-invalid-character-comparison</code></a> (#3333) b2e9191e</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-loop-iterable-mutation.md"><code>no-loop-iterable-mutation</code></a> (#3357) b961432a</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-misrefactored-assignment.md"><code>no-misrefactored-assignment</code></a> (#3315) 063a798b</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-nonstandard-builtin-properties.md"><code>no-nonstandard-builtin-properties</code></a> (#3337) 14cc4db5</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-selector-as-dom-name.md"><code>no-selector-as-dom-name</code></a> (#3328) 6d9b14f1</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-boolean-comparison.md"><code>no-unnecessary-boolean-comparison</code></a> (#3349) 00d90d4a</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-compound-assignment.md"><code>no-useless-compound-assignment</code></a> (#3355) ddf347a7</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-delete-check.md"><code>no-useless-delete-check</code></a> (#3359) 2712e16e</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-logical-operand.md"><code>no-useless-logical-operand</code></a> (#3352) 8689080f</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-xor-as-exponentiation.md"><code>no-xor-as-exponentiation</code></a> (#3356) 5b1952bf</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-array-from-async.md"><code>prefer-array-from-async</code></a> (#3370) b2bf08fa</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-array-iterable-methods.md"><code>prefer-array-iterable-methods</code></a> (#3358) e32a7c38</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-boolean-return.md"><code>prefer-boolean-return</code></a> (#3340) 084bb9e1</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-continue.md"><code>prefer-continue</code></a> (#3347) c374e144</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-flat-math-min-max.md"><code>prefer-flat-math-min-max</code></a> (#3341) 3f0a2ce3</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-hoisting-branch-code.md"><code>prefer-hoisting-branch-code</code></a> (#3369) 00d8a9b5</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-math-constants.md"><code>prefer-math-constants</code></a> (#3309) 6ee7dd8b</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-promise-with-resolvers.md"><code>prefer-promise-with-resolvers</code></a> (#3322) e880d297</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-regexp-escape.md"><code>prefer-regexp-escape</code></a> (#3367) dec6c318</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-single-replace.md"><code>prefer-single-replace</code></a> (#3353) 91177785</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-unary-minus.md"><code>prefer-unary-minus</code></a> (#3354) 98c6f388</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-url-can-parse.md"><code>prefer-url-can-parse</code></a> (#3366) ba55624c</li> > <li><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-while-loop-condition.md"><code>prefer-while-loop-condition</code></a> (#3344) ce538b72</li> > </ul> > <h2>Improvements</h2> > <ul> > <li>Improve rule performance (#3339) 42abe749</li> > <li>Harden rules (#3305) 34ca8f6b</li> > <li>Harden rules (#3299) d7ce07ec</li> > <li><code>prefer-short-arrow-method</code>: Remove from <code>recommended</code> preset (#3345) 0cfd77ab</li> > <li><code>prefer-type-literal-last</code>: Remove from <code>unopinionated</code> preset and stop checking intersection types (#3320) 447c665f</li> > <li><code>consistent-boolean-name</code>: Do not check destructured bindings (#3324) fb0cfe06</li> > <li><code>logical-assignment-operators</code>: Do not assume the base rule&#39;s <code>defaultOptions</code> exist (#3321) 253e25ff</li> > <li><code>logical-assignment-operators</code>: Improve error message (#3302) 3ec8fec6</li> > <li><code>name-replacements</code>: Add more default replacements (#3365) f968bf39</li> > <li><code>new-for-builtins</code>: Cover more builtins (#3361) e04ac43d</li> > <li><code>no-array-splice</code>: Only report fresh, non-escaping local arrays (#3301) babb873f</li> > <li><code>no-break-in-nested-loop</code>: Handle unlabeled <code>continue</code> in nested <code>switch</code> statements (#3335) ca893ba6</li> > <li><code>no-declarations-before-early-exit</code>: Ignore initializers containing <code>await</code> or <code>yield</code> (#3303) 6d98190d</li> > <li><code>no-incorrect-template-string-interpolation</code>: Remove from <code>unopinionated</code> preset and fix false-positive (#3319) 39dc5466</li> > <li><code>no-manually-wrapped-comments</code>: Ignore some more comments (#3292) a545dfe5</li> > <li><code>no-named-default</code>: Don&#39;t drop comments in autofix (#3306) 44e73611</li> > <li><code>no-unsafe-property-key</code>: Allow intrinsic string-mapping types as keys (#3343) ba6020fb</li> > <li><code>no-useless-coercion</code>: Flag <code>+value</code>, <code>value + &#39;&#39;</code>, and <code>value.toString()</code> idioms (#3338) 23a52f62</li> > <li><code>no-useless-undefined</code>: Flag <code>return undefined</code> for <code>void</code> return type (#3334) 488d5e30</li> > <li><code>prefer-array-find</code>: Add <code>.filter(…).slice(-1)</code> support (#3360) b6ea1e20</li> > <li><code>prefer-early-return</code>: Fix lexical declaration autofixes (#3325) e7771bd8</li> > <li><code>prefer-identifier-import-export-specifiers</code>: Check import attribute keys (#3287) fec43d23</li> > <li><code>prefer-includes-over-repeated-comparisons</code>: Ignore distinct expressions compared against <code>undefined</code> (#3308) 78858ec9</li> > <li><code>prefer-minimal-ternary</code>: Report dynamic computed-key swaps (#3300) 72879c46</li> > <li><code>prefer-number-properties</code>: Add <code>parseFloat</code> support (#3307) 4b891d35</li> > <li><code>prefer-object-iterable-methods</code>: Preserve TypeScript casts on value access (#3327) d3a4d394</li> > </ul> > <hr> > <p><a href="https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v67.0.0...v68.0.0">https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v67.0.0...v68.0.0</a></p> <h2>lint-staged</h2> <ul> <li> ^17.0.7 => ^17.0.8 (dvf)</li> </ul> > <h3>Patch Changes</h3> > <ul> > <li><p><a href="https://github.com/lint-staged/lint-staged/pull/1809">#1809</a> <a href="https://github.com/lint-staged/lint-staged/commit/179b4372b2528f6fa66f927337d238711694d0e0"><code>179b437</code></a> - Fix <em>lint-staged</em> discarding the ongoing merge conflict status (<code>.git/MERGE_HEAD</code>) when using the <code>--hide-unstaged</code> or <code>--hide-all</code> options.</p> > </li> > <li><p><a href="https://github.com/lint-staged/lint-staged/pull/1811">#1811</a> <a href="https://github.com/lint-staged/lint-staged/commit/3d0b2c0709a2a39aa7b134e3741fed21250d808e"><code>3d0b2c0</code></a> - Fix issues with Git commands that are successful but also emit warnings to <code>stderr</code>, by ignoring the <code>stderr</code> output completely when the process exits with code 0. This was the behavior when using <code>nano-spawn</code> and <code>execa</code>, but when switching to <code>tinyexec</code> in 16.3.0 both <code>stdout</code> and <code>stderr</code> were used as interleaved output.</p> > </li> > </ul>
m.schnitzler added 1 commit 2026-06-22 01:30:14 +00:00
root approved these changes 2026-06-22 17:44:52 +00:00
root left a comment
Owner

approved by automerge

approved by automerge
root merged commit d29ded5584 into master 2026-06-22 17:59:50 +00:00
root deleted branch renovate 2026-06-22 17:59:51 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: root/dvf#111