Repository navigation
chore(deps): update dependency eslint-plugin-unicorn to v78 - #2244
laneybot[bot] wants to merge 1 commit into
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| 🔵 In progress View logs |
rssfilter | 709cb48 | Oct 23 2026, 08:09 PM |
🍹
|
|
✅ Safe to merge — breaking changes in v77/v78 don't apply to this repo's config. eslint-plugin-unicorn: `76.0.0` → `78.0.0` (two major bumps), dev dependency in `pulumi/` v77 breaking changes (the only real risk):
v78 changes: New rules (`no-unnecessary-default-arguments`, `no-repeated-call-wrappers`) and behaviour improvements only; no breaking changes. Repo impact: `pulumi/eslint.config.mjs` registers the plugin directly and enables exactly one unicorn rule (`unicorn/no-typeof-undefined`). Neither the removed configs nor the moved CSS rules are referenced anywhere. New transitive deps (`micromark`, `parse5`, and helpers): well-known, widely-used packages pulled in for the new `relative-url-style` rule improvements; no supply-chain concerns. No action items — linting config requires no changes. |
9f4dc56 to
21616dd
Compare
c10d7b7 to
7d9496d
Compare
78e502b to
6fe0c3a
Compare
195ad87 to
79a3604
Compare
79a3604 to
709cb48
Compare
This PR contains the following updates:
76.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)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)dd24a9aConfiguration
📅 Schedule: (UTC)
🚦 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 has been generated by Mend Renovate CLI.