Skip to content

Bump "eslint-plugin-unicorn" package version - #1211

Open
updateclibot[bot] wants to merge 2 commits into
mainfrom
updatecli_main_92ece216b8a7c4f5a1bc7b7112f1836d18f0bc690c9fe43a0fa20d2ba278138b
Open

updateclibot[bot] wants to merge 2 commits into
mainfrom
updatecli_main_92ece216b8a7c4f5a1bc7b7112f1836d18f0bc690c9fe43a0fa20d2ba278138b

Conversation

@updateclibot

@updateclibot updateclibot Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Bump "eslint-plugin-unicorn" package version

Bump "eslint-plugin-unicorn" package version to 77.0.0

ran shell command "npm install --package-lock-only --dry-run=$DRY_RUN eslint-plugin-unicorn@77.0.0"

v77.0.0
## Breaking

- Move CSS-only rules to [`eslint-cssicorn`](https://github.com/sindresorhus/eslint-cssicorn) (#3811)  c3697c02
	- `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)  6f989c6f
	- Use `recommended` and `all` instead.

## New rules

- [`no-invalid-response-options`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-response-options.md) (#3808)  7d590065
- [`no-prevent-default-in-passive-listener`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-prevent-default-in-passive-listener.md) (#3806)  09f94f2c
- [`no-invalid-boolean-attribute-value`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-boolean-attribute-value.md) (#3807)  2b91aa70
- [`no-conflicting-constraints`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-conflicting-constraints.md) (#3805)  7c9b39ae
- [`no-invalid-property-descriptor`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-property-descriptor.md) (#3804)  d0bd123c
- [`no-invalid-url-protocol-comparison`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-url-protocol-comparison.md) (#3803)  ec7b0634
- [`no-invalid-integrity`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-integrity.md) (#3802)  d0b974c2
- [`no-url-in-search-params`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-url-in-search-params.md) (#3800)  c1008cfd
- [`no-invalid-dom-token`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-dom-token.md) (#3799)  85c9aa18
- [`require-text-decoder-streaming`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/require-text-decoder-streaming.md) (#3798)  f3c317ea
- [`no-invalid-temporal-arithmetic`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-temporal-arithmetic.md) (#3797)  47904f2f
- [`no-invalid-style-set-property`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-style-set-property.md) (#3796)  239dd0b4
- [`no-ineffective-csp-directives`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-ineffective-csp-directives.md) (#3795)  a28a1042
- [`no-invalid-intl-options`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-invalid-intl-options.md) (#3794)  e7dc6d6c
- [`no-unsafe-json-serialization`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unsafe-json-serialization.md) (#3793)  7cc147b4
- [`comma-spacing`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/comma-spacing.md) (#3790)  a7a41803
- [`no-empty-link-text`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-empty-link-text.md) (#3789)  742b3613
- [`no-leading-empty-lines`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-leading-empty-lines.md) (#3786)  5c509bb8
- [`no-unnecessary-parameters`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-unnecessary-parameters.md) (#3784)  e143b4b5
- [`prefer-promise-static-methods`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-promise-static-methods.md) (#3747)  f3eefdea
- [`no-javascript-url`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-javascript-url.md) (#3746)  201e1289
- [`no-incomplete-accessor-override`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-incomplete-accessor-override.md) (#3745)  dee7a617
- [`prefer-escaped-irregular-whitespace`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-escaped-irregular-whitespace.md) (#3742)  d7f82224
- [`key-name-casing`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/key-name-casing.md) (#3741)  a330d287
- [`prefer-literal-ascii`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-literal-ascii.md) (#3734)  e9b5bcde
- [`prefer-short-escape-sequences`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-short-escape-sequences.md) (#3731)  0e66146f
- [`no-loss-of-precision`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-loss-of-precision.md) (#3729)  d4bdf38c
- [`indent`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/indent.md) (#3726)  64ff93da

## Improvements

- Add recommended presets for [non-JavaScript languages](https://github.com/sindresorhus/eslint-plugin-unicorn#non-javascript-recommended-configs): `recommended-css`, `recommended-html`, `recommended-json`, `recommended-markdown`, `recommended-toml`, and `recommended-yaml` (#3810)  6f989c6f
- Add support for more languages in some rules (#3741)  a330d287
	- 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)  2428f98f
- `no-asterisk-prefix-in-documentation-comments`: Support CSS and JSON, and enable in `recommended` preset (#3725)  d0f8a03f
- `number-literal-case`: Move from `unopinionated` to `recommended` preset  769e2d53
- `prefer-combined-guards`: Add [`checkMultiStatementBodies`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-combined-guards.md#checkmultistatementbodies) option (#3760)  490ff390
- `prefer-simplified-conditions`: Add [`negatedConditions`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-simplified-conditions.md#negatedconditions) option (#3778)  2bb91714
- `comment-content`: Improve performance (#3763)  cbe4b6b5
- `consistent-conditional-object-spread`: Report unnecessary boolean casts in `logical` mode (#3761)  1bc3b077
- `logical-assignment-operators`: Support computed properties (#3739)  1c7901f2
- `name-replacements`: Prefer `repository` over `repo` (#3743)  54ff97fc
- `no-await-in-promise-methods`: Report nested `await` (#3758)  8c2c1949
- `no-invalid-argument-count`: Avoid false positives for spread arguments (#3781)  769208ad
- `no-manually-wrapped-comments`: Support block comments and CSS (#3744)  1e82f7aa
- `no-shorthand-property-overrides`: Improve shorthand detection (#3792)  b1b89048
- `no-unnecessary-array-flat-map`: Remove unnecessary singleton array wrappers (#3782)  eedbb2c9
- `prefer-default-parameters`: Report bindings with consistent fallback expressions (#3780)  1ef535d3
- `prefer-direct-iteration`: Fix type inference for destructured bindings (#3809)  93ef59cd
- `prefer-early-return`, `prefer-continue`: Check guards after other statements in `checkShortBodies` (#3759)  6f405df9
- `prefer-logical-operator-over-ternary`: Only simplify boolean branches (#3768)  d84d5617
- `prefer-simple-condition-first`: Handle `typeof` guards (#3740)  118000ba
- `prefer-single-call`: Make array call autofixes safe (#3770)  bcb93943
- `prefer-single-object-destructuring`: Inline local sources (#3779)  fa417ff1
- `prefer-uint8array-hex`: Recognize more encoding patterns (#3791)  dd24a9ad

---

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v76.0.0...v77.0.0
v76.0.0
### Breaking

- `no-immediate-mutation`: Add [`checkConditionals`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-immediate-mutation.md#checkconditionals) option and default it to off (#3707)  4686e7ef
- `no-break-in-nested-loop`: Add [`checkContinue`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-break-in-nested-loop.md#checkcontinue) option and default it to off (#3712)  d8fbfde8
- `prefer-combined-guards`: Add [`checkCompoundConditions`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-combined-guards.md#checkcompoundconditions) option default it to off (#3710)  

### Improvements

- `prefer-minimal-ternary`: Add autofix (#3716)  aaa75a46
- `prefer-logical-operator-over-ternary`: Handle boolean expressions (#3711)
- `prefer-ternary`: Preserve readable branches (#3709)  f7a35aea
- `no-typeof-undefined`: Ignore TypeScript ambient variables (#3708)  9245ed87
- Fix autofixes that hardcoded a tab for inserted indentation (#3721)  db20ce1c

---

https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v75.0.0...v76.0.0
GitHub Action workflow link
Updatecli logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

@updateclibot updateclibot Bot added the dependencies Pull requests that update a dependency file label Oct 5, 2026
@updateclibot
updateclibot Bot enabled auto-merge (squash) October 5, 2026 08:07
@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ab4a564a-2f2f-4832-a551-19b853cc140b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@updateclibot
updateclibot Bot force-pushed the updatecli_main_92ece216b8a7c4f5a1bc7b7112f1836d18f0bc690c9fe43a0fa20d2ba278138b branch 3 times, most recently from 2a33859 to c716ad7 Compare October 5, 2026 08:17
@updateclibot
updateclibot Bot force-pushed the updatecli_main_92ece216b8a7c4f5a1bc7b7112f1836d18f0bc690c9fe43a0fa20d2ba278138b branch 2 times, most recently from 35ff1d1 to f994f68 Compare October 5, 2026 08:25
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants