Repository navigation
⬆️ Updates eslint-plugin-unicorn to v78 - #947
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md. |
Hello from PR HelperIs your PR ready for review and processing? Mark the PR ready by including If you still have work to do, even after marking this ready. Put the PR on hold by including |
|
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. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate
Bot
force-pushed
the
renovate/eslint-plugin-unicorn-78.x
branch
from
October 15, 2026 00:49
3254e29 to
25e23bc
Compare
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
^17.2.0→^78.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release 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)921dd8cv77.0.0Compare Source
Breaking
eslint-cssicorn(#3811)c3697c0unicorn/no-deprecated-css-features→cssicorn/no-deprecated-featuresunicorn/no-duplicate-css-selectors→cssicorn/no-duplicate-selectorsunicorn/no-duplicate-font-family-names→cssicorn/no-duplicate-font-family-namesunicorn/no-invalid-media-features→cssicorn/no-invalid-media-featuresunicorn/no-nesting-with-mixed-specificity→cssicorn/no-nesting-with-mixed-specificityunicorn/no-redundant-nested-style-rules→cssicorn/no-redundant-nested-style-rulesunicorn/no-unknown-css-annotations→cssicorn/no-unknown-annotationsunicorn/no-unknown-pseudo-selectors→cssicorn/no-unknown-pseudo-selectorsunicorn/no-unscoped-css-nesting-selector→cssicorn/no-unscoped-nesting-selectorunicorn/prefer-explicit-viewport-units→cssicorn/prefer-explicit-viewport-unitsunicorn/prefer-media-feature-range-syntax→cssicorn/prefer-media-feature-range-syntaxflat/recommendedandflat/allconfigs (#3810)6f989c6recommendedandallinstead.New rules
no-invalid-response-options(#3808)7d59006no-prevent-default-in-passive-listener(#3806)09f94f2no-invalid-boolean-attribute-value(#3807)2b91aa7no-conflicting-constraints(#3805)7c9b39ano-invalid-property-descriptor(#3804)d0bd123no-invalid-url-protocol-comparison(#3803)ec7b063no-invalid-integrity(#3802)d0b974cno-url-in-search-params(#3800)c1008cfno-invalid-dom-token(#3799)85c9aa1require-text-decoder-streaming(#3798)f3c317eno-invalid-temporal-arithmetic(#3797)47904f2no-invalid-style-set-property(#3796)239dd0bno-ineffective-csp-directives(#3795)a28a104no-invalid-intl-options(#3794)e7dc6d6no-unsafe-json-serialization(#3793)7cc147bcomma-spacing(#3790)a7a4180no-empty-link-text(#3789)742b361no-leading-empty-lines(#3786)5c509bbno-unnecessary-parameters(#3784)e143b4bprefer-promise-static-methods(#3747)f3eefdeno-javascript-url(#3746)201e128no-incomplete-accessor-override(#3745)dee7a61prefer-escaped-irregular-whitespace(#3742)d7f8222key-name-casing(#3741)a330d28prefer-literal-ascii(#3734)e9b5bcdprefer-short-escape-sequences(#3731)0e66146no-loss-of-precision(#3729)d4bdf38indent(#3726)64ff93dImprovements
recommended-css,recommended-html,recommended-json,recommended-markdown,recommended-toml, andrecommended-yaml(#3810)6f989c6a330d28consistent-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-contentconsistent-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-contentconsistent-compound-words,id-match,name-replacements,relative-url-stylename-replacements,relative-url-styleconsistent-compound-words,empty-brace-spaces,escape-case,name-replacements,no-manually-wrapped-comments,no-zero-fractions,number-literal-case,string-contentconsistent-compound-words,empty-brace-spaces,name-replacements,no-zero-fractionseslint-disablecomments suppress reports instead of making rules skip the code, which made the directive look unused (#3783)2428f98no-asterisk-prefix-in-documentation-comments: Support CSS and JSON, and enable inrecommendedpreset (#3725)d0f8a03number-literal-case: Move fromunopinionatedtorecommendedpreset769e2d5prefer-combined-guards: AddcheckMultiStatementBodiesoption (#3760)490ff39prefer-simplified-conditions: AddnegatedConditionsoption (#3778)2bb9171comment-content: Improve performance (#3763)cbe4b6bconsistent-conditional-object-spread: Report unnecessary boolean casts inlogicalmode (#3761)1bc3b07logical-assignment-operators: Support computed properties (#3739)1c7901fname-replacements: Preferrepositoryoverrepo(#3743)54ff97fno-await-in-promise-methods: Report nestedawait(#3758)8c2c194no-invalid-argument-count: Avoid false positives for spread arguments (#3781)769208ano-manually-wrapped-comments: Support block comments and CSS (#3744)1e82f7ano-shorthand-property-overrides: Improve shorthand detection (#3792)b1b8904no-unnecessary-array-flat-map: Remove unnecessary singleton array wrappers (#3782)eedbb2cprefer-default-parameters: Report bindings with consistent fallback expressions (#3780)1ef535dprefer-direct-iteration: Fix type inference for destructured bindings (#3809)93ef59cprefer-early-return,prefer-continue: Check guards after other statements incheckShortBodies(#3759)6f405dfprefer-logical-operator-over-ternary: Only simplify boolean branches (#3768)d84d561prefer-simple-condition-first: Handletypeofguards (#3740)118000bprefer-single-call: Make array call autofixes safe (#3770)bcb9394prefer-single-object-destructuring: Inline local sources (#3779)fa417ffprefer-uint8array-hex: Recognize more encoding patterns (#3791)dd24a9av76.0.0Compare Source
Breaking
no-immediate-mutation: AddcheckConditionalsoption and default it to off (#3707)4686e7eno-break-in-nested-loop: AddcheckContinueoption and default it to off (#3712)d8fbfdeprefer-combined-guards: AddcheckCompoundConditionsoption default it to off (#3710)Improvements
prefer-minimal-ternary: Add autofix (#3716)aaa75a4prefer-logical-operator-over-ternary: Handle boolean expressions (#3711)prefer-ternary: Preserve readable branches (#3709)f7a35aeno-typeof-undefined: Ignore TypeScript ambient variables (#3708)9245ed8db20ce1v75.0.0Compare Source
New rules
prefer-combined-guards(#3680)5d9d745no-unused-iterator-helper(#3677)8213737no-unused-builtin-method-return(#3676)b3d56a3prefer-iterator-zip(#3675)60d3b53no-useless-set-construction(#3672)639c984prefer-iterator-helpers(#3670)4c805e2prefer-json-import(#3668)1df640dprefer-temporal-conversion(#3667)74bc02eno-async-iterator-callback(#3666)bb6c245no-using-resource-escape(#3663)3424785prefer-uint8array-hex(#3661)9255132no-deprecated-css-features(#3651)e116102no-unscoped-css-nesting-selector(#3650)ebd03bdno-duplicate-css-selectors(#3646)508d9f5no-unknown-pseudo-selectors(#3644)99492cdno-invalid-media-features(#3643)ef37c1fno-unknown-css-annotations(#3642)19637eeno-nesting-with-mixed-specificity(#3640)b2f2bf9prefer-media-feature-range-syntax(#3639)19f112fno-duplicate-font-family-names(#3638)c8f81bcno-redundant-nested-style-rules(#3637)31603adImprovements
f61393a3cfa32cprefer-continue: AddcheckShortBodiesoption (#3699)274d581filename-case: AdddirectoryRootsoption (#3647)d2d6cc3custom-error-definition: Allow flexible options placement (#3698)2f8e2e5prefer-smaller-scope: Check initialized declarations (#3697)960b374no-unsafe-string-replacement: Allow safe repeated strings (#3696)742bdceno-array-fill-with-reference-type: Recognize function return types (#3695)60f00ffprefer-continue: Support trailing conditionals (#3694)bf480f6no-immediate-mutation: Support conditionals (#3688)73235b9prefer-set-methods: Extend supported methods (#3674)3459a29prefer-minimal-ternary: Check property reads withcheckComputedMemberAccess(#3673)37d7614prefer-array-from-async: Recognize ordinary serial mapping loops (#3671)65ad1bbprefer-uint8array-base64: Prefer native encoding options (#3665)6ecc912prefer-group-by: Recognize accumulation loops (#3664)a8e7d0eno-negated-condition: Preserve comments in autofixes (#3662)8f407a7prefer-minimal-ternary: Support objects, arrays, and constructors (#3658)40c860aprefer-ternary: Handle flat return statements (#3657)2edc158no-useless-else: Prevent unsafe combined fixes (#3654)7beaf7dno-useless-length-check: Checkfor…ofloops (#3652)fdf47c5no-unknown-css-annotations: Fix identifier lookup across@eslint/css-treeversions9b6f37bprefer-dom-node-replace-children: Combine consecutive mutations (#3648)52dd1cev74.0.0Compare Source
Improvements
4ff2eabcomment-content: Handle JSDoc syntax (#3616)bf7dca2consistent-arrow-return-style: Fix indentation andinoperator handling (#3621)398606cconsistent-boolean-name: Support possibly async boolean callbacks (#3624)823bb1fcustom-error-definition: Avoid requiring nativeErrorOptionsfor custom bases (#3617)96fd371custom-error-definition: Support TypeScript parameter properties (#3619)872fd55expiring-todo-comments: Add YAML support (#3625)e437f23name-replacements: AllowProcessEnvtype (#3608)2e19a94no-array-fill-with-reference-type: Ignore canvas contexts (#3635)d7f5fa1no-empty-file: Add YAML support (#3627)043a523no-nonstandard-builtin-properties: Support stage 4 proposals (#3631)0a24d74no-unnecessary-splice: Fix false positives when the return value is used (#3611)cc58720no-useless-else: Fix false positive in mutable branch conditions (#3612)725e535prefer-default-parameters: Support logical assignment operators (#3629)8eb0897v73.0.0Compare Source
New rules
consistent-arrow-return-style(#3601)ae3c3d9iteration-fallback-style(#3602)a61c2c5no-barrel-files(#3570)d900c09no-unsafe-sqlite-interpolation(#3582)a09869bsingle-line-block-comment-style(#3584)a0c2c57Improvements
7b7c7909c2b0bbconsistent-boolean-name: Addwrappersoption (#3572)78c5abfconsistent-boolean-name: Add granular check options (#3591)a33b1c1consistent-function-style: AdddefaultExportoption (#3600)e78a7c9prefer-https: Addignoreoption (#3557)7f7ec06comment-content: Handle Unicode word boundaries (#3597)dd52b4aimport-style: Ignore type-only imports (#3599)f2a62e3name-replacements: Handle TypeScript parameter properties (#3575)fa0df7bno-negated-comparison: Never check relational operators (#3589)6120423no-this-outside-of-class: Allow explicit TypeScriptthisparameters (#3596)6a709b7no-unnecessary-string-trim: Handle Zod string schemas (#3577)1c06db0prefer-else-if: Handle existingelse ifchains (#3587)46eaaf0prefer-simple-condition-first: Treat== nullchecks as simple (#3559)d1be07eprefer-set-has: Fix false positives for computed members (#3562)2817682consistent-export-decorator-position: Fix decorator position reporting (#3583)0a19cb4no-array-for-each: Fix deprecation docs (#3568)0096a18process.exitcontrol-flow analysis (#3590)342a5edv72.0.0Compare Source
Breaking
prefer-minimal-ternary: RenamecheckVaryingCalleeoption tocheckVaryingBase(#3508)825b7b9New rules
no-missing-local-resource(#3528)12a33c6no-multiple-promise-resolver-calls([#3523](https://redirect.githConfiguration
📅 Schedule: (in timezone Europe/Moscow)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.