Skip to content

chore: bump eslint-plugin-unicorn from 59.0.1 to 79.0.0 - #520

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/eslint-plugin-unicorn-79.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/eslint-plugin-unicorn-79.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Bumps eslint-plugin-unicorn from 59.0.1 to 79.0.0.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v79.0.0

Breaking

  • no-top-level-side-effects: Focus on mutations of globals, and remove it from the unopinionated preset (#3915) 24abac48
    • Unknown calls are no longer reported by default. Enable the new checkUnknownCalls option for stricter checking.
    • Mutations of globals, like document.title = 'x' and Object.assign(globalThis, …), are now reported, also in declarations and default exports. You may see new reports.

Improvements

  • Infer types from JSDoc @type, @param, and @returns annotations in rules that use type information (#3941) 2b4bfab0
  • Handle template literals without expressions like strings in more rules (#3943) 8bd8c063
  • Autofix more code that contains comments, while keeping the comments (#3939) 87baf82f
  • Fix autofixes in many rules that could produce broken code or wrong parentheses (#3917) fed7eac2
  • Make autofixes safer in many rules
    • Fixes that can change behavior in rare cases are now suggestions, for example in prefer-spread, prefer-math-min-max, prefer-modern-dom-apis, and prefer-switch.
  • Improve performance 175efaf1 3dd8fd28
  • comment-content: Add ignore option (#3950) 3fe046e6
  • consistent-function-scoping: Ignore functions in Vitest hoisted factories (#3905) 98912a91
  • custom-error-definition: Ignore abstract TypeScript classes (#3934) ee3501fb
  • no-non-function-verb-prefix: Ignore shorthand destructuring (#3926) 76e5760b
  • no-top-level-side-effects: Recognize more config helpers (#3916) d459c511
  • no-useless-coercion: Preserve boolean return types in TypeScript (#3904) bef15714
  • prefer-array-some: Check .find() results used as booleans (#3913) c957bf3d
  • prefer-default-parameters: Skip unsafe logical OR fallbacks (#3951) bcec97a4
  • prefer-includes: Skip incompatible TypeScript search values (#3927) d66441aa
  • prefer-includes-over-repeated-comparisons: Report negated and typed loose comparisons (#3935) 6e21cb1b
  • prefer-includes-over-repeated-comparisons: Preserve TypeScript union narrowing (#3910) b5c479d8
  • prefer-literal-ascii: Preserve escaped trailing spaces in templates (#3911) 360094bb
  • prefer-minimal-ternary: Skip minimizations that break types (#3892) f022d6d1
  • prefer-modern-math-apis: Use suggestions for changes that can affect numeric results (#3914) 8af7c172
  • prefer-simple-condition-first: Improve typeof comparisons and guards (#3948) ee3edf06
  • prefer-simplified-conditions: Handle equivalent logical expressions (#3938) a0b2788b
  • prefer-simplified-conditions: Factor common terms in longer chains and static templates (#3942) 0d8c8bcb
  • prefer-smaller-scope: Check TypeScript type aliases (#3928) 290d922c
  • prefer-string-raw: Preserve TypeScript literal types in autofixes (#3912) 06115464
  • prefer-ternary: Preserve consecutive early-return guards (#3945) 3fa840fe
  • require-post-message-target-origin: Skip incompatible typed methods (#3925) 387194bd
  • throw-new-error: Ignore calls that return functions (#3894) 5e35def7

sindresorhus/eslint-plugin-unicorn@v78.0.0...v79.0.0

v78.0.0

New rules

Improvements

... (truncated)

Commits
  • d078ad9 79.0.0
  • 3fe046e comment-content: Add ignore option (#3950)
  • bcec97a prefer-default-parameters: Skip unsafe logical OR fallbacks (#3951)
  • ee3edf0 prefer-simple-condition-first: Improve typeof comparisons and guards (#3948)
  • 2b4c08c comment-content: Document ignored backtick text (#3946)
  • 3fa840f prefer-ternary: Preserve consecutive early-return guards (#3945)
  • 8bd8c06 Improve handling of template literals (#3943)
  • 0d8c8bc prefer-simplified-conditions: Factor common terms in longer chains and stat...
  • 2b4bfab Support JSDoc type annotations to infer types in multiple rules (#3941)
  • 87baf82 Fix comment handling in many rules (#3939)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 26, 2026
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 59.0.1 to 79.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](sindresorhus/eslint-plugin-unicorn@v59.0.1...v79.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-version: 79.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/eslint-plugin-unicorn-79.0.0 branch from 6582833 to 8cf5602 Compare October 27, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants