Repository navigation
fix(deps): Update eslint packages (major) - #453
Merged
Merged
Conversation
erezrokah
force-pushed
the
renovate/major-eslint-packages
branch
from
November 2, 2026 11:09
d255861 to
059aaa9
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.
This PR contains the following updates:
^17.0.0→^18.0.0^76.0.0→^79.0.0Release Notes
avajs/eslint-plugin-ava (eslint-plugin-ava)
v18.0.0Compare Source
Breaking
meta.languagesto each rule (#364)a074f64Improvements
test.skipIf()andtest.runIf()cf17f73use-t-wellreporting and autofixingt.passedb28b245sindresorhus/eslint-plugin-unicorn (eslint-plugin-unicorn)
v79.0.0Compare Source
Breaking
no-top-level-side-effects: Focus on mutations of globals, and remove it from theunopinionatedpreset (#3915)24abac4checkUnknownCallsoption for stricter checking.document.title = 'x'andObject.assign(globalThis, …), are now reported, also in declarations and default exports. You may see new reports.Improvements
@type,@param, and@returnsannotations in rules that use type information (#3941)2b4bfab8bd8c0687baf82fed7eacprefer-spread,prefer-math-min-max,prefer-modern-dom-apis, andprefer-switch.175efaf3dd8fd2comment-content: Addignoreoption (#3950)3fe046econsistent-function-scoping: Ignore functions in Vitest hoisted factories (#3905)98912a9custom-error-definition: Ignore abstract TypeScript classes (#3934)ee3501fno-non-function-verb-prefix: Ignore shorthand destructuring (#3926)76e5760no-top-level-side-effects: Recognize more config helpers (#3916)d459c51no-useless-coercion: Preserve boolean return types in TypeScript (#3904)bef1571prefer-array-some: Check.find()results used as booleans (#3913)c957bf3prefer-default-parameters: Skip unsafe logical OR fallbacks (#3951)bcec97aprefer-includes: Skip incompatible TypeScript search values (#3927)d66441aprefer-includes-over-repeated-comparisons: Report negated and typed loose comparisons (#3935)6e21cb1prefer-includes-over-repeated-comparisons: Preserve TypeScript union narrowing (#3910)b5c479dprefer-literal-ascii: Preserve escaped trailing spaces in templates (#3911)360094bprefer-minimal-ternary: Skip minimizations that break types (#3892)f022d6dprefer-modern-math-apis: Use suggestions for changes that can affect numeric results (#3914)8af7c17prefer-simple-condition-first: Improvetypeofcomparisons and guards (#3948)ee3edf0prefer-simplified-conditions: Handle equivalent logical expressions (#3938)a0b2788prefer-simplified-conditions: Factor common terms in longer chains and static templates (#3942)0d8c8bcprefer-smaller-scope: Check TypeScript type aliases (#3928)290d922prefer-string-raw: Preserve TypeScript literal types in autofixes (#3912)0611546prefer-ternary: Preserve consecutive early-return guards (#3945)3fa840frequire-post-message-target-origin: Skip incompatible typed methods (#3925)387194bthrow-new-error: Ignore calls that return functions (#3894)5e35defv78.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)
* 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate.