Repository navigation
chore(deps): update devdependency eslint-plugin-unicorn to v78 - #1931
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
commit: |
danielroe
approved these changes
Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^77.0.0→^78.0.0Release Notes
sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v78.0.0Compare Source
New rules
no-unnecessary-default-arguments(#3885)1059f09no-repeated-call-wrappers(#3836)c4fd1feImprovements
recommended-somlpreset (#3870)7419b83003f0bd5e77e19prefer-default-parameters: AddcheckFallbackExpressionsoption (#3837)71bbf59prefer-ternary: AddcheckVaryingBaseandcheckComputedMemberAccessoptions (#3869)1af3c2bconsistent-boolean-name: Allowdoesprefix by default (#3853)cfad028consistent-boolean-name: Recognize promise-returning functions (#3879)769e3b8consistent-boolean-name: Fix cyclic type parameter resolution (#3821)5c4808bno-asterisk-prefix-in-documentation-comments: Remove shared indentation (#3820)a92aee1no-await-in-promise-methods: Clarify the message for nestedawait(#3867)8f73d53no-immediate-mutation: Combine a declaration with an assignment that follows it immediately (#3851)811e467no-negated-condition: Support&&and||chains of negated operands (#3834)15bfadeno-top-level-side-effects: Allow known pure imported helpers, likedefineConfig()and Reactmemo(), and check default-exported expressions (#3822)3826236no-unnecessary-parameters: Fix false positive for recursive defaults (#3844)e2d8d0fno-unnecessary-parameters: Ignore parameters named by type predicates (#3859)f0c631cno-using-resource-escape: Check TypeScript instantiation expressions (#3833)7a9f7dfprefer-at: Fix false positives for DOM collections (#3842)ca78a7aprefer-combined-guards: Combine non-literal exits in TypeScript when type information is available (#3860)2bcc7beprefer-default-parameters: Support static template literal fallbacks (#3835)3d8b40aprefer-default-parameters: Support fallbacks to earlier bindings (#3840)d4bfc1cprefer-default-parameters: Handle nullable fallback types (#3858)d75786fprefer-early-return,prefer-continue: Suggest opposite relational comparisons (#3873)de2e6daprefer-logical-operator-over-ternary: Handle non-boolean conditions (#3843)5c4d50cprefer-minimal-ternary: Ignore formatting differences in shared expressions (#3841)b0c2142prefer-minimal-ternary: Prevent unsafe TypeScript object autofixes (#3846)2f33c91prefer-observer-apis: Checkletandvarlistener functions, and ignore reassigned listeners (#3833)7a9f7dfprefer-private-class-fields: Do not autofix reassigned methods, and suggest private arrow functions for bound methods (#3823)6f0f4bbprefer-scoped-selector: Ignore queries on more non-element roots, likeownerDocumentandgetRootNode()(#3833)7a9f7dfprefer-spread: Prevent unsafe TypeScript autofixes (#3882)21e99ffprefer-ternary: Support destructuring assignments (#3852)e29d1eeprefer-ternary: Support statements that differ in only one part, likecall(test ? a : b)(#3869)1af3c2bprefer-top-level-await: Allow cached promise assignments (#3819)2fb8eb6prefer-top-level-await: Avoid false positives on non-promise calls (#3883)3f125f1relative-url-style: Support complex Markdown labels, embedded HTML in Markdown, JSX,URL.canParse(),URL.parse(), and more HTML attributes (#3854)2760ce4require-module-specifiers: Allow bareexport {}in declaration files (#3866)e727481template-indent: Ignore templates with content on the opening line (#3868)921dd8cConfiguration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.