Skip to content

⬆️ Updates eslint-plugin-unicorn to v77 - #1220

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/eslint-plugin-unicorn-77.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/eslint-plugin-unicorn-77.x

Conversation

@renovate

@renovate renovate Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
eslint-plugin-unicorn ^34.0.1 → ^77.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)

v77.0.0

Compare Source

Breaking

  • Move CSS-only rules to eslint-cssicorn (#​3811) c3697c0
    • unicorn/no-deprecated-css-features → cssicorn/no-deprecated-features
    • unicorn/no-duplicate-css-selectors → cssicorn/no-duplicate-selectors
    • unicorn/no-duplicate-font-family-names → cssicorn/no-duplicate-font-family-names
    • unicorn/no-invalid-media-features → cssicorn/no-invalid-media-features
    • unicorn/no-nesting-with-mixed-specificity → cssicorn/no-nesting-with-mixed-specificity
    • unicorn/no-redundant-nested-style-rules → cssicorn/no-redundant-nested-style-rules
    • unicorn/no-unknown-css-annotations → cssicorn/no-unknown-annotations
    • unicorn/no-unknown-pseudo-selectors → cssicorn/no-unknown-pseudo-selectors
    • unicorn/no-unscoped-css-nesting-selector → cssicorn/no-unscoped-nesting-selector
    • unicorn/prefer-explicit-viewport-units → cssicorn/prefer-explicit-viewport-units
    • unicorn/prefer-media-feature-range-syntax → cssicorn/prefer-media-feature-range-syntax
  • Remove the deprecated flat/recommended and flat/all configs (#​3810) 6f989c6
    • Use recommended and all instead.

New rules

Improvements

  • Add recommended presets for non-JavaScript languages: recommended-css, recommended-html, recommended-json, recommended-markdown, recommended-toml, and recommended-yaml (#​3810) 6f989c6
  • Add support for more languages in some rules (#​3741) a330d28
    • JSON: consistent-compound-words, empty-brace-spaces, escape-case, name-replacements, no-manually-wrapped-comments, no-zero-fractions, number-literal-case, single-line-block-comment-style, string-content
    • CSS: consistent-compound-words, empty-brace-spaces, escape-case, id-match, name-replacements, no-zero-fractions, number-literal-case, relative-url-style, single-line-block-comment-style, string-content
    • HTML: consistent-compound-words, id-match, name-replacements, relative-url-style
    • Markdown: name-replacements, relative-url-style
    • YAML: consistent-compound-words, empty-brace-spaces, escape-case, name-replacements, no-manually-wrapped-comments, no-zero-fractions, number-literal-case, string-content
    • TOML: consistent-compound-words, empty-brace-spaces, name-replacements, no-zero-fractions
  • Let eslint-disable comments suppress reports instead of making rules skip the code, which made the directive look unused (#​3783) 2428f98
  • no-asterisk-prefix-in-documentation-comments: Support CSS and JSON, and enable in recommended preset (#​3725) d0f8a03
  • number-literal-case: Move from unopinionated to recommended preset 769e2d5
  • prefer-combined-guards: Add checkMultiStatementBodies option (#​3760) 490ff39
  • prefer-simplified-conditions: Add negatedConditions option (#​3778) 2bb9171
  • comment-content: Improve performance (#​3763) cbe4b6b
  • consistent-conditional-object-spread: Report unnecessary boolean casts in logical mode (#​3761) 1bc3b07
  • logical-assignment-operators: Support computed properties (#​3739) 1c7901f
  • name-replacements: Prefer repository over repo (#​3743) 54ff97f
  • no-await-in-promise-methods: Report nested await (#​3758) 8c2c194
  • no-invalid-argument-count: Avoid false positives for spread arguments (#​3781) 769208a
  • no-manually-wrapped-comments: Support block comments and CSS (#​3744) 1e82f7a
  • no-shorthand-property-overrides: Improve shorthand detection (#​3792) b1b8904
  • no-unnecessary-array-flat-map: Remove unnecessary singleton array wrappers (#​3782) eedbb2c
  • prefer-default-parameters: Report bindings with consistent fallback expressions (#​3780) 1ef535d
  • prefer-direct-iteration: Fix type inference for destructured bindings (#​3809) 93ef59c
  • prefer-early-return, prefer-continue: Check guards after other statements in checkShortBodies (#​3759) 6f405df
  • prefer-logical-operator-over-ternary: Only simplify boolean branches (#​3768) d84d561
  • prefer-simple-condition-first: Handle typeof guards (#​3740) 118000b
  • prefer-single-call: Make array call autofixes safe (#​3770) bcb9394
  • prefer-single-object-destructuring: Inline local sources (#​3779) fa417ff
  • prefer-uint8array-hex: Recognize more encoding patterns (#​3791) dd24a9a

v76.0.0

Compare Source

Breaking
Improvements
  • prefer-minimal-ternary: Add autofix (#​3716) aaa75a4
  • prefer-logical-operator-over-ternary: Handle boolean expressions (#​3711)
  • prefer-ternary: Preserve readable branches (#​3709) f7a35ae
  • no-typeof-undefined: Ignore TypeScript ambient variables (#​3708) 9245ed8
  • Fix autofixes that hardcoded a tab for inserted indentation (#​3721) db20ce1

v75.0.0

Compare Source

New rules

Improvements


v74.0.0

Compare Source

v73.0.0

Compare Source

New rules

Improvements


v72.0.0

Compare Source

Breaking

  • prefer-minimal-ternary: Rename checkVaryingCallee option to checkVaryingBase (#​3508) 825b7b9

New rules

Improvements

  • Improve performance (#​3531) 8233f95
  • consistent-boolean-name: Support Vue refs (#​3555) 79e79d5
  • no-incorrect-template-string-interpolation: Ignore Unicode code point escapes (#​3513) 36fdf1a
  • no-negated-comparison: Ignore relational comparisons with optional chaining (#​3512) 7b7e28a
  • no-top-level-side-effects: Ignore <script setup> (#​3542) af8fd60
  • no-unnecessary-array-flat-map: Handle TypeScript Vue files (#​3545) b6d01a0
  • no-unsafe-property-key: Use type information for narrowed property keys (#​3515) 69a6002
  • no-unused-array-method-return: Ignore expect assertions (#​3552) 110cc58
  • no-useless-promise-resolve-reject: Handle awaited calls (#​3504) 9b8a144
  • no-useless-template-literals: Ignore const assertions (#​3543) 4367228
  • prefer-await: Add async IIFE suggestion (#​3550) 305fb4b
  • prefer-dom-node-html-methods: Add options and add to recommended preset (#​3541) 581ef47
  • prefer-export-from: Preserve JSDoc comments on single-const re-exports (#​3544) e273ab6
  • prefer-short-arrow-method: Add consistent-as-needed option (#​3514) c068745
  • prefer-simple-condition-first: Fix logic (#​3530) a339abe
  • prefer-split-limit: Support array destructuring (#​3554) b23f959
  • prefer-string-starts-ends-with: Detect slice comparisons (#​3518) 98730de
  • prefer-minimal-ternary: Don't report object-varying member access by default (#​3508) 825b7b9

v71.1.0

Compare Source

  • consistent-boolean-name: Allow async boolean predicates (#​3502) dafc7c9
  • consistent-boolean-name: Allow boolean-like React refs with Ref suffix (#​3501) 064d890

v71.0.0

Compare Source

Improvements

  • consistent-boolean-name: Ignore destructured variables (#​3485) 0de22c5
  • consistent-boolean-name: Skip React hooks by default (#​3487) fab07e2
  • isolated-functions: Respect configured globals in isolated functions (#​3495) 1af1d1a
  • no-unnecessary-array-flat-map: Ignore conditional flatMap fixes in TypeScript (#​3499) 5eb6d87
  • prefer-boolean-return: Ignore repeated boolean guard clauses (#​3494) fdb3d89
  • prefer-top-level-await: Ignore Svelte files (#​3489) 58670ff
  • prefer-uint8array-base64: Remove from presets (#​3493) 3f4c31e

v70.0.0

Compare Source

New rules

Improvements

  • consistent-boolean-name: Add inverse boolean name support (#​3478) d379e13
  • expiring-todo-comments: Report unsupported catalog versions (#​3455) 26f11da
  • isolated-functions: Add defaults for workerize and common evaluate APIs (#​3467) 30c7570
  • isolated-functions: Support methods (#​3470) c615523
  • no-collection-bracket-access: Handle conditional member keys (#​3462) cd01d0b
  • `no-manua

❗ Important

✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Europe/Moscow)

  • Branch creation
    • "after 10pm every weekday,before 5am every weekday,every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​eslint-plugin-unicorn@​34.0.1 ⏵ 77.0.098100100 +196 +1100

View full report

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md.

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

Hello from PR Helper

Is your PR ready for review and processing? Mark the PR ready by including #pr-ready in a comment.

If you still have work to do, even after marking this ready. Put the PR on hold by including #pr-onhold in a comment.

@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

Thanks for the PR!

This section of the codebase is owner by https://github.com/AlexRogalskiy/ - if they write a comment saying "LGTM" then it will be merged.

This branch had an error being deployed

1 failed deployment
Preview — 24184716 Deployed Oct 3, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants