Skip to content

chore(deps-dev): bump eslint-plugin-unicorn from 77.0.0 to 78.0.0 - #23599

Merged
TonyRL merged 2 commits into
masterfrom
dependabot/npm_and_yarn/eslint-plugin-unicorn-78.0.0
Oct 16, 2026
Merged

TonyRL merged 2 commits into
masterfrom
dependabot/npm_and_yarn/eslint-plugin-unicorn-78.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 16, 2026

Copy link
Copy Markdown
Contributor

Bumps eslint-plugin-unicorn from 77.0.0 to 78.0.0.

Release notes

Sourced from eslint-plugin-unicorn's releases.

v78.0.0

New rules

Improvements

  • Add SOML support, including a recommended-soml preset (#3870) 7419b835
  • Report code that contains comments instead of ignoring it (#3847) 003f0bdc
    • Many rules skipped code with comments. They now report it, and only withhold fixes that would remove comments. You may see new reports.
  • Fix cyclic resolution in type-aware checks (#3826) 5e77e19e
  • prefer-default-parameters: Add checkFallbackExpressions option (#3837) 71bbf59a
  • prefer-ternary: Add checkVaryingBase and checkComputedMemberAccess options (#3869) 1af3c2b2
  • consistent-boolean-name: Allow does prefix by default (#3853) cfad028d
  • consistent-boolean-name: Recognize promise-returning functions (#3879) 769e3b87
  • consistent-boolean-name: Fix cyclic type parameter resolution (#3821) 5c4808ba
  • no-asterisk-prefix-in-documentation-comments: Remove shared indentation (#3820) a92aee19
  • no-await-in-promise-methods: Clarify the message for nested await (#3867) 8f73d539
  • no-immediate-mutation: Combine a declaration with an assignment that follows it immediately (#3851) 811e4678
  • no-negated-condition: Support && and || chains of negated operands (#3834) 15bfade7
  • no-top-level-side-effects: Allow known pure imported helpers, like defineConfig() and React memo(), and check default-exported expressions (#3822) 3826236d
  • no-unnecessary-parameters: Fix false positive for recursive defaults (#3844) e2d8d0ff
  • no-unnecessary-parameters: Ignore parameters named by type predicates (#3859) f0c631ce
  • no-using-resource-escape: Check TypeScript instantiation expressions (#3833) 7a9f7df1
  • prefer-at: Fix false positives for DOM collections (#3842) ca78a7aa
  • prefer-combined-guards: Combine non-literal exits in TypeScript when type information is available (#3860) 2bcc7be6
  • prefer-default-parameters: Support static template literal fallbacks (#3835) 3d8b40a5
  • prefer-default-parameters: Support fallbacks to earlier bindings (#3840) d4bfc1cf
  • prefer-default-parameters: Handle nullable fallback types (#3858) d75786f7
  • prefer-early-return, prefer-continue: Suggest opposite relational comparisons (#3873) de2e6daa
  • prefer-logical-operator-over-ternary: Handle non-boolean conditions (#3843) 5c4d50cf
  • prefer-minimal-ternary: Ignore formatting differences in shared expressions (#3841) b0c21423
  • prefer-minimal-ternary: Prevent unsafe TypeScript object autofixes (#3846) 2f33c916
  • prefer-observer-apis: Check let and var listener functions, and ignore reassigned listeners (#3833) 7a9f7df1
  • prefer-private-class-fields: Do not autofix reassigned methods, and suggest private arrow functions for bound methods (#3823) 6f0f4bb8
  • prefer-scoped-selector: Ignore queries on more non-element roots, like ownerDocument and getRootNode() (#3833) 7a9f7df1
  • prefer-spread: Prevent unsafe TypeScript autofixes (#3882) 21e99ff8
  • prefer-ternary: Support destructuring assignments (#3852) e29d1eee
  • prefer-ternary: Support statements that differ in only one part, like call(test ? a : b) (#3869) 1af3c2b2
  • prefer-top-level-await: Allow cached promise assignments (#3819) 2fb8eb60
  • prefer-top-level-await: Avoid false positives on non-promise calls (#3883) 3f125f14
  • relative-url-style: Support complex Markdown labels, embedded HTML in Markdown, JSX, URL.canParse(), URL.parse(), and more HTML attributes (#3854) 2760ce46
  • require-module-specifiers: Allow bare export {} in declaration files (#3866) e7274810
  • template-indent: Ignore templates with content on the opening line (#3868) 921dd8c3

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

Commits
  • 843495c 78.0.0
  • 1059f09 Add no-unnecessary-default-arguments rule (#3885)
  • 624887f consistent-boolean-name: Explain why do is excluded (#3884)
  • 3f125f1 prefer-top-level-await: Avoid false positives on non-promise calls (#3883)
  • 21e99ff prefer-spread: Prevent unsafe TypeScript autofixes (#3882)
  • 769e3b8 consistent-boolean-name: Recognize promise-returning functions (#3879)
  • 9eadb60 prefer-simple-condition-first: Clarify property access condition classifica...
  • de2e6da prefer-early-return, prefer-continue: Suggest opposite relational compari...
  • 7419b83 Add SOML support (#3870)
  • 1af3c2b prefer-ternary: Minimize matching branch expressions (#3869)
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 77.0.0 to 78.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](sindresorhus/eslint-plugin-unicorn@v77.0.0...v78.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies This PR involves changes to dependencies label Oct 16, 2026
…no-unsafe-dictionary-type, no-unknown-returns and no-object-parameters
return value.cards;
}
return Object.values(data).flatMap(findBlogCards);
return Object.values(value).flatMap(findBlogCards);
@TonyRL
TonyRL merged commit c0ebbc9 into master Oct 16, 2026
37 of 38 checks passed
@TonyRL
TonyRL deleted the dependabot/npm_and_yarn/eslint-plugin-unicorn-78.0.0 branch October 16, 2026 17:23
pseudoyu added a commit that referenced this pull request Oct 16, 2026
eslint-plugin-unicorn 78 (#23599) extends default-export-style to a const
arrow function that is exported by name later. The rule only suggests a
fix for that shape, so oxlint --fix in the Format workflow cannot apply it
and npm run format fails on master. Declare the function inline instead.
pseudoyu added a commit that referenced this pull request Oct 16, 2026
eslint-plugin-unicorn 78 (#23599) extends default-export-style to a const
arrow function that is exported by name later. The rule only suggests a
fix for that shape, so oxlint --fix in the Format workflow cannot apply it
and npm run format fails on master. Declare the function inline instead.
pseudoyu added a commit that referenced this pull request Oct 16, 2026
… inline

eslint-plugin-unicorn 78 (#23599) extends default-export-style to a const
arrow function that is exported by name later. The rule only suggests a
fix for that shape, so oxlint --fix in the Format workflow cannot apply it
and npm run format fails on master. Declare the function inline instead.
pseudoyu added a commit that referenced this pull request Oct 16, 2026
…dler inline

eslint-plugin-unicorn 78 (#23599) extends default-export-style to a const
arrow function that is exported by name later. The rule only suggests a
fix for that shape, so oxlint --fix in the Format workflow cannot apply it
and npm run format fails on master. Declare the function inline instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants