Skip to content

Update linters (major) - #1001

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-linters
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/major-linters

Conversation

@renovate

@renovate renovate Bot commented Apr 3, 2024 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@typescript-eslint/eslint-plugin (source) ^7.0.0 → ^8.0.0 age adoption passing confidence
@typescript-eslint/parser (source) ^7.0.0 → ^8.0.0 age adoption passing confidence
eslint (source) ^8.0.0 → ^10.0.0 age adoption passing confidence
eslint-config-prettier ^9.0.0 → ^10.0.0 age adoption passing confidence
eslint-plugin-unicorn ^51.0.0 → ^80.0.0 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v8.73.0

Compare Source

🚀 Features
  • eslint-plugin: [no-unsafe-class-instance-assignment] add rule (#​12907)
  • typescript-estree: add projectService.EXPERIMENTAL_backend for TypeScript 7.1 native parser support over IPC (#​12803)
  • eslint-plugin: [consistent-type-imports] narrow report location (#​12924)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.72.2

Compare Source

🩹 Fixes
  • eslint-plugin: [prefer-nullish-coalescing] treat unconstrained type parameters as possibly nullish (#​12994)
  • eslint-plugin: [no-unnecessary-type-assertion] don't report number to enum assertions (#​13104)
  • eslint-plugin: [no-deprecated] stop on circular alias chains (#​13117)
  • eslint-plugin: [prefer-string-starts-ends-with] parse RegExps with the v flag in unicode sets mode (#​13102)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.72.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-assertion] bound recursive type traversal instead of catching stack overflows (#​13039)
  • eslint-plugin: [no-unnecessary-condition] false positives on unresolved conditional types (#​13062)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.72.0

Compare Source

🚀 Features
  • eslint-plugin: [await-thenable] add allowMixedPromiseArrays option (#​12992)
  • eslint-plugin: lazy load rules (#​13010)
🩹 Fixes
  • type-utils: discriminateAnyType crashes when calling getAwaitedType on awaited type in TS < 5.0 (#​13054)
  • eslint-plugin: [require-array-sort-compare] ignore extra this type argument on TS < 5.1 (#​13055)
  • eslint-plugin: [require-array-sort-compare] check tuples (#​13058)
  • eslint-plugin: use isTypeLiteralType instead of type.isLiteral() to include bigint literals on TS < 5.0 (#​13053)
  • eslint-plugin: [no-deprecated] report deprecated properties in object literals (#​12704)
  • eslint-plugin: [prefer-readonly-parameter-types] check where allowed type aliases are declared (#​13016)
  • typescript-estree: include leading and trailing comments & whitespace in Program range (#​12991)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.71.2

Compare Source

🩹 Fixes
  • eslint-plugin: [prefer-optional-chain] safe fix when the chain ends with a strict null comparison (#​12805)
  • eslint-plugin: [no-unnecessary-type-parameters] parenthesize constraint in optional tuple elements (#​12995)
  • eslint-plugin: [no-unused-vars] ignore type-only refs for after-used (#​12977)
  • eslint-plugin: [no-unnecessary-type-parameters] count instantiated mapped type templates (#​12974)
  • eslint-plugin: [no-unused-vars] avoid false-positives when not using our parser (#​12989)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.71.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-parameters] count instantiated mapped type constraints (#​12941)
  • eslint-plugin: [prefer-optional-chain] check the constrained type (#​12953)
  • eslint-plugin: [no-confusing-void-expression] don't autofix when declared return type is unknown (#​12930)
  • eslint-plugin: [no-unsafe-enum-assignment] skip identical types and bound deep type walks (#​12957)
  • eslint-plugin: [require-array-sort-compare] use array argument type constraint (#​12919)
  • eslint-plugin: [no-unused-vars] report usedOnlyAsType for partially exported merged declarations (#​12892)
  • eslint-plugin: [no-misused-promises] skip argument checks for calls without arguments (#​12923)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.71.0

Compare Source

🚀 Features
  • eslint-plugin: [no-unsafe-enum-assignment] add rule (#​12732)
🩹 Fixes
  • eslint-plugin: [no-misused-promises] handle a return outside of any function (#​12912)
  • eslint-plugin: [no-unnecessary-type-assertion] specialize generic assertion report message (#​12832)
  • eslint-plugin: [unbound-method] respect this: void on class properties (7fce9127d)
  • eslint-plugin: [switch-exhaustiveness-check] always sort literal cases in stable order (#​12885)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.70.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-misused-promises] handle multiple Promise constituents (#​12904)
  • eslint-plugin: [no-useless-default-assignment] convert the fixer to a suggestion fixer (#​12826)
  • eslint-plugin: [no-unnecessary-condition] handle union-keyed index access on the left-hand side of nullish assignment (#​12747)
  • eslint-plugin: [unbound-method] treat Intl.Collator.prototype.compare as spec-bound (#​12845)
  • eslint-plugin: [no-unnecessary-parameter-property-assignment] account for parameter reassignment (#​12880)
  • eslint-plugin: [await-thenable] prevent autofix from breaking code when removing await (#​12716)
  • eslint-plugin: [no-meaningless-void-operator] allow void on assignment expressions (#​12873)
  • eslint-plugin: [no-unnecessary-type-assertion] false positive for empty object asserted to a type alias of Record (#​12869)
  • eslint-plugin: [no-misused-spread] omit WeakMap spread suggestions (#​12850)
  • eslint-plugin: [no-generated-empty-object-type] don't report a mapped type whose keys are not resolved yet (#​12854)
  • eslint-plugin: [no-explicit-any] use unknown[] for bare any rest parameters (#​12818)
  • eslint-plugin: [no-unnecessary-type-parameters] handle type precedence in the suggestion fixer (#​12637)
  • eslint-plugin: [no-useless-default-assignment] avoid false positives on tuples with a rest element (#​12768)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.70.0

Compare Source

🚀 Features
  • eslint-plugin: [no-generated-empty-object-type] add rule (#​12730)
🩹 Fixes
  • eslint-plugin: [no-deprecated] report deprecated imported values used in object shorthand properties (#​12780)
  • eslint-plugin: [no-unnecessary-condition] no false positive on RHS of a nested logical expression (#​12728)
  • eslint-plugin: [member-ordering] don't report fields that read fields declared before them (#​12729)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.69.0

Compare Source

🚀 Features
  • eslint-plugin: [no-misused-promises] add flagUnions option for checkConditionals (#​12603)
🩹 Fixes
  • eslint-plugin: [no-meaningless-void-operator] report void on non-call expressions (#​12727)
  • eslint-plugin: [unified-signatures] compare type parameters by constraint instead of name (#​12741)
  • eslint-plugin: [no-mixed-enums] use scope analysis instead of type checking for merged namespaces (#​12731)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.68.0

Compare Source

🚀 Features
  • eslint-plugin: [strict-void-return] add fix suggestions (#​12086)
🩹 Fixes
  • eslint-plugin: [no-empty-object-type] ignore suggestions that result in invalid interfaces and export defaults (#​12739)
  • eslint-plugin: [no-floating-promises] setting ignoreVoid: false results in false negative in ArrowFunctionExpression (#​12646)
  • eslint-plugin: [no-unnecessary-type-assertion] prevent stack overflow in recursive types (#​12711)
  • eslint-plugin: [unified-signatures] report identical signatures (#​12678)
  • eslint-plugin: [return-await] prevent autofix from breaking code in arrow-functions (#​12707)
  • eslint-plugin: [unified-signatures] deduplicate types in report (#​12656)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.67.0

Compare Source

This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.66.0

Compare Source

🩹 Fixes
  • eslint-plugin: [class-literal-property-style] preserve type annotations and don't drop decorators (#​12617)
  • eslint-plugin: [no-unnecessary-type-parameters] check MappedType key remapping (#​12588)
  • eslint-plugin: [no-useless-default-assignment] don't report defaults used by other overloads (#​12607)
  • eslint-plugin: [prefer-nullish-coalescing] handle shadowed Boolean calls (#​12591)
  • eslint-plugin: [no-unnecessary-type-conversion] ignore shadowed built-ins (#​12590)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.65.0

Compare Source

🚀 Features
  • eslint-plugin: [no-shadow] specialized error on enum declaration and member shadowing (#​12578)
  • add warning when TS 7 is detected (#​12529)
  • eslint-plugin: [no-restricted-imports] deprecate extension rule (#​12527, #​19562, #​11889)
🩹 Fixes
  • eslint-plugin: [no-unnecessary-parameter-property-assignment] don't flag computed assignments with a variable key (#​12568)
  • eslint-plugin: [unbound-method] report unbound methods accessed via member expression on union types (#​12448)
  • eslint-plugin: [prefer-string-starts-ends-with] handle escaped $ ending regex literals (#​12515)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.64.0

Compare Source

🚀 Features
  • eslint-plugin: [no-loop-func] support using / await using declarations and deprecate the rule (#​12500)
  • typescript-estree: throw for invalid definite assignment in class properties (#​12543)
🩹 Fixes
  • eslint-plugin: [require-array-sort-compare] handle constrained arrays (#​12512)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.63.0

Compare Source

🚀 Features
  • eslint-plugin: [no-misused-promises] detect async usage of a sync dispose usage (#​12426)
🩹 Fixes
  • eslint-plugin: [no-base-to-string] don't flag a shadowed String() call (#​12492)
  • eslint-plugin: [no-unnecessary-type-assertion] handle optional-chained calls to overloaded functions (#​12491, #​12485)
  • eslint-plugin: [method-signature-style] suggest converting readonly function properties instead of emitting invalid syntax (#​12447, #​12446)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.62.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-type-assertion] parenthesize object literal at left edge of expression statement (#​12443, #​12418)
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] preserve boolean result in fixer for nullable true comparisons (#​12365)
  • eslint-plugin: [prefer-optional-chain] use suggestion instead of autofix for trailing binary operator (#​12328)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.62.0

Compare Source

🚀 Features
  • remove redundant package.json "files" (#​12444)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.61.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-template-expression] respect ECMAScript line terminators (#​12388)
  • eslint-plugin: [no-unnecessary-boolean-literal-compare] fix precedence bug in autofix (#​12413)
  • eslint-plugin: [no-unnecessary-type-assertion] wrap object literal in parens when removing TSTypeAssertion in arrow body (#​12394, #​12393)
  • eslint-plugin: [no-unnecessary-type-assertion] avoid false positive for template literal expressions (#​12281)
  • eslint-plugin: [consistent-indexed-object-style] do not remove comments when fixing (#​12396, #​10577)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.61.0

Compare Source

🚀 Features
  • ast-spec: change type of UnaryExpression.prefix to always true (#​12372)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.60.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-shadow] correct rule to match ESLint v10 handling (#​12182)
  • eslint-plugin: respect ECMAScript line terminators in ts-comment rules (#​12352)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.60.0

Compare Source

This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.59.4

Compare Source

🩹 Fixes
  • eslint-plugin: [no-floating-promises] stack overflow when using recursive types (#​12294)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.59.3

Compare Source

This was a version bump only for eslint-plugin to align it with other projects, there were no code changes.

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.59.2

Compare Source

🩹 Fixes
  • eslint-plugin: [no-deprecated] object destructuring values should be treated as declarations (#​12292)
  • eslint-plugin: [no-unsafe-type-assertion] handle crash on recursive template literal types (#​12150)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.59.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-condition] treat void as nullish in no-unnecessary-condition (#​12241)
  • eslint-plugin: [no-unnecessary-type-arguments] handle instantiation expressions (#​12220)
  • eslint-plugin: [no-unnecessary-type-assertion] avoid false positive in logical assignment assertions (#​12278)
  • eslint-plugin: [no-unnecessary-type-assertion] preserve phantom type arguments in generic inference (#​12269)
  • eslint-plugin: [no-unnecessary-type-assertion] preserve index signatures in undefined unions (#​12257)
  • eslint-plugin: [no-unnecessary-type-assertion] fix crash "TypeError: checker.getTypeArguments is not a function" (#​12246)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.59.0

Compare Source

🚀 Features
  • eslint-plugin: [no-unnecessary-type-assertion] report more cases based on assignability (#​11789)
❤️ Thank You
  • Ulrich Stark

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.58.2

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unnecessary-condition] use assignability checks in checkTypePredicates (#​12147)
  • remove tsbuildinfo cache file from published packages (#​12187)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.58.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unused-vars] fix false negative for type predicate parameter (#​12004)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.58.0

Compare Source

🚀 Features
🩹 Fixes
  • eslint-plugin: [prefer-regexp-exec] avoid fixing unknown RegExp flags (#​12161)
  • eslint-plugin: [no-extraneous-class] handle index signatures (#​12142)
  • eslint-plugin: crash in no-unnecessary-type-arguments (#​12163)
❤️ Thank You

See GitHub Releases for more information.

You can read about our versioning strategy and releases on our website.

v8.57.2

Compare Source

🩹 Fixes
  • eslint-plugin: [prefer-readonly-parameter-types] preserve type alias infomation (#​11954)
  • eslint-plugin: [no-useless-default-assignment] skip reporting false positives for unresolved type parameters (#​12127)
  • eslint-plugin: [no-unsafe-return] false positive on unwrapping generic (#​12125)
  • eslint-plugin: [no-restricted-types] flag banned generics in extends or implements ([#​12120](https://redirect.github.com/

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@socket-security

socket-security Bot commented Apr 3, 2024 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​typescript-eslint/​parser@​7.18.0 ⏵ 8.73.010010072 +198100
Updatednpm/​@​typescript-eslint/​eslint-plugin@​7.18.0 ⏵ 8.73.099 +110080 +198100
Updatednpm/​eslint-config-prettier@​9.1.0 ⏵ 10.1.8100 +1100100 +2983100
Updatednpm/​eslint-plugin-unicorn@​51.0.1 ⏵ 80.0.099 +11100100 +194 -1100
Updatednpm/​eslint@​8.57.0 ⏵ 10.15.097 +110010096 +46100

View full report

@renovate
renovate Bot force-pushed the renovate/major-linters branch from 543944b to 59d8b10 Compare April 5, 2024 21:25
@renovate renovate Bot changed the title Update dependency eslint-plugin-unicorn to v52 Update linters (major) Apr 5, 2024
@renovate
renovate Bot force-pushed the renovate/major-linters branch from 59d8b10 to 907947f Compare April 11, 2024 20:16
@renovate
renovate Bot force-pushed the renovate/major-linters branch 2 times, most recently from 8e0ba93 to c1fcb49 Compare May 14, 2024 14:12
@renovate
renovate Bot force-pushed the renovate/major-linters branch 2 times, most recently from 128fc40 to 57adc35 Compare June 19, 2024 19:40
@renovate
renovate Bot force-pushed the renovate/major-linters branch 2 times, most recently from 7c50070 to ba39fc2 Compare July 31, 2024 18:37
@renovate
renovate Bot force-pushed the renovate/major-linters branch from ba39fc2 to dd91187 Compare August 23, 2024 18:06
@renovate
renovate Bot force-pushed the renovate/major-linters branch from dd91187 to 5ff0bbf Compare October 3, 2024 21:45
@renovate
renovate Bot force-pushed the renovate/major-linters branch 2 times, most recently from d6ac3d5 to 43b07d9 Compare January 17, 2025 14:25
@renovate
renovate Bot force-pushed the renovate/major-linters branch from 43b07d9 to f9739aa Compare February 17, 2025 19:33
@renovate
renovate Bot force-pushed the renovate/major-linters branch from f9739aa to 4cb6f14 Compare March 24, 2025 10:31
@renovate
renovate Bot force-pushed the renovate/major-linters branch from 4cb6f14 to c5adf76 Compare April 14, 2025 14:42
@renovate
renovate Bot force-pushed the renovate/major-linters branch from c5adf76 to 6e29aa7 Compare April 27, 2025 14:00
@renovate
renovate Bot force-pushed the renovate/major-linters branch from 6e29aa7 to d7c0815 Compare May 12, 2025 21:12
@renovate
renovate Bot force-pushed the renovate/major-linters branch 3 times, most recently from f9bfdef to 71612f9 Compare July 25, 2025 17:12
@renovate
renovate Bot force-pushed the renovate/major-linters branch 4 times, most recently from d7ec87c to 3a070da Compare August 11, 2025 18:33
@renovate
renovate Bot force-pushed the renovate/major-linters branch 4 times, most recently from 3707fe9 to 5a330af Compare August 22, 2025 23:41
@renovate
renovate Bot force-pushed the renovate/major-linters branch from 728ef4e to 4f8205c Compare October 21, 2025 14:47
@socket-security

socket-security Bot commented Oct 21, 2025 •

Copy link
Copy Markdown

Caution

Review the following alerts detected in dependencies.

According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.

Priority Alert  (click "▶" to expand/collapse) Action
Low priority
Potential code anomaly (AI signal): npm yaml is 68.0% likely to have a medium risk anomaly

Notes: The code presents a standard, non-malicious NodeBase component used in YAML/JS conversion. The primary risk surface is the optional reviver and onAnchor callbacks provided by the user: if untrusted, these can execute arbitrary code or influence the transformed representation via applyReviver or the reviver itself. This is expected behavior for extensible YAML libraries; ensure callbacks come from trusted sources and sandbox or validate revivers where possible.

Confidence: 0.68

Severity: 0.60

From: package.json → npm/eslint-plugin-unicorn@80.0.0 → npm/yaml@2.9.1

ℹ Read more on: This package | This alert | What is an AI-detected potential code anomaly?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/yaml@2.9.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block

View full report

@renovate
renovate Bot force-pushed the renovate/major-linters branch 2 times, most recently from b4fda1d to 973e0fc Compare October 31, 2025 22:47
@renovate
renovate Bot force-pushed the renovate/major-linters branch 2 times, most recently from 8808dc7 to 8e6808c Compare November 4, 2025 02:42
@renovate
renovate Bot force-pushed the renovate/major-linters branch 2 times, most recently from 746c6fe to 1d9fab8 Compare November 17, 2025 23:56
@renovate
renovate Bot force-pushed the renovate/major-linters branch 2 times, most recently from a7a7411 to cdaeded Compare November 24, 2025 18:14
@renovate
renovate Bot force-pushed the renovate/major-linters branch 3 times, most recently from 85eb918 to 6b9c571 Compare December 8, 2025 21:06
@renovate
renovate Bot force-pushed the renovate/major-linters branch 2 times, most recently from 1797b93 to cfa30e8 Compare December 15, 2025 17:13
@renovate
renovate Bot force-pushed the renovate/major-linters branch from cfa30e8 to 03f6035 Compare December 22, 2025 17:41
@renovate
renovate Bot force-pushed the renovate/major-linters branch 2 times, most recently from f5d4062 to 87a8c72 Compare December 31, 2025 13:52
@renovate
renovate Bot force-pushed the renovate/major-linters branch 3 times, most recently from 19e06b2 to c064426 Compare January 12, 2026 18:01
@renovate
renovate Bot force-pushed the renovate/major-linters branch 3 times, most recently from 5364b5c to 02f5815 Compare January 23, 2026 18:35
@coderabbitai

coderabbitai Bot commented Jan 23, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6f582b53-0a36-40b2-9ac5-00a27ce7c834

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

Walkthrough

The pull request upgrades ESLint and related TypeScript linting devDependencies to newer major versions: @typescript-eslint/eslint-plugin and parser to v8, ESLint to v9, eslint-config-prettier to v10, and eslint-plugin-unicorn to v62.

Changes

Cohort / File(s) Summary
ESLint and TypeScript linting toolchain
package.json
Upgraded major versions: @typescript-eslint/eslint-plugin and @typescript-eslint/parser (^7 → ^8), ESLint (^8 → ^9), eslint-config-prettier (^9 → ^10), eslint-plugin-unicorn (^51 → ^62)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 3

✅ Passed checks (3 passed)

Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the major updates to the linting dependencies.
Finishing Touches

🧪 Generate unit tests (beta)

  • Create PR with unit tests
  • Commit unit tests in branch renovate/major-linters
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

🐰 Hop along with cleaner code!
ESLint's upgraded down the road,
Version nine and eight so fine,
Linting rules now more divine,
Unicorn prances, prettier shines bright! ✨

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
package.json (1)

10-11: The --ignore-path CLI flag has been removed in ESLint 9.

The lint script on line 11 uses --ignore-path .gitignore, but "'ignorePath' has been removed. 'rulePaths' has been removed. Please define your rules using plugins."

In ESLint 9 with flat config, "you can use the ignores property in a config object with no other properties. The ignores property accepts an array of glob patterns."

🔧 Suggested fix: Update lint script and migrate ignore patterns to flat config

Remove the --ignore-path flag from the script:

-    "lint:path": "eslint --ignore-path .gitignore --max-warnings 0",
+    "lint:path": "eslint --max-warnings 0",

Then in your new eslint.config.js, add the ignore patterns:

export default [
  {
    ignores: [
      'node_modules/**',
      'dist/**',
      // ... other patterns from .gitignore that should be ignored by ESLint
    ]
  },
  // ... rest of config
];
🤖 Fix all issues with AI agents
In `@package.json`:
- Around line 19-24: The current ESLint 9 upgrade will break the existing
.eslintrc.js + lint:path script that uses --ignore-path; either migrate to flat
config by running the migration tool to produce eslint.config.js (npx
`@eslint/migrate-config` .eslintrc.js), update the new eslint.config.js to call
includeIgnoreFile() from `@eslint/compat` to load .gitignore patterns, and remove
--ignore-path from the lint:path npm script, or temporarily toggle legacy
behavior by setting ESLINT_USE_FLAT_CONFIG=false in the lint:path script
environment so the existing .eslintrc.js continues to work; also ensure Node.js
engine in package.json meets ESLint 9 minimum (≥18.18.0).
🧹 Nitpick comments (1)
package.json (1)

17-31: Consider adding dependencies required for ESLint 9 flat config migration.

"The migrator will prompt you to install additional packages... @eslint/js: ESLint team start to make a core rewrite the ESLint, all the rules, documentations will move to the new package... @eslint/compat: This package allow you to wrap existing previous ESLint rules, plugins and configurations."

Depending on your configuration, you may need to add:

  • @eslint/js - for ESLint's built-in recommended rules
  • globals - for defining global variables in flat config
  • @eslint/compat or @eslint/eslintrc - if plugins don't fully support flat config yet
  "devDependencies": {
    "@openzeppelin/docs-utils": "^0.1.0",
+   "@eslint/js": "^9.0.0",
    "@typescript-eslint/eslint-plugin": "^8.0.0",
    "@typescript-eslint/parser": "^8.0.0",
    "eslint": "^9.0.0",
    "eslint-config-prettier": "^10.0.0",
    "eslint-plugin-prettier": "^5.0.0",
    "eslint-plugin-unicorn": "^62.0.0",
    "ethers": "^6.8.1",
+   "globals": "^16.0.0",

Comment thread package.json Outdated
Comment on lines +19 to +24
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-unicorn": "^51.0.0",
"eslint-plugin-unicorn": "^62.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Find existing ESLint configuration files
echo "=== Existing ESLint config files ==="
find . -maxdepth 2 -name '.eslintrc*' -o -name 'eslint.config.*' 2>/dev/null | head -20

# Check for .eslintignore
echo -e "\n=== .eslintignore files ==="
find . -maxdepth 2 -name '.eslintignore' 2>/dev/null

# Check Node.js version requirements
echo -e "\n=== Node.js version constraints ==="
jq '.engines' package.json 2>/dev/null || echo "No engines field in package.json"

# Check the lint script in package.json
echo -e "\n=== Lint script in package.json ==="
jq '.scripts.lint' package.json

Repository: OpenZeppelin/openzeppelin-upgrades

Length of output: 256


🏁 Script executed:

#!/bin/bash
# Let's check the full scripts section and lines around 11 in package.json
echo "=== Full package.json scripts section ==="
jq '.scripts' package.json

echo -e "\n=== Lines 1-30 of package.json for context ==="
head -n 30 package.json | cat -n

Repository: OpenZeppelin/openzeppelin-upgrades

Length of output: 1949


🏁 Script executed:

#!/bin/bash
# Check the .eslintrc.js configuration
echo "=== Contents of .eslintrc.js ==="
cat .eslintrc.js

# Verify ESLint v9 breaking change documentation
echo -e "\n=== Checking for flat config usage ==="
if grep -q "eslint.config" package.json; then
  echo "Uses flat config"
else
  echo "Does not use flat config"
fi

Repository: OpenZeppelin/openzeppelin-upgrades

Length of output: 1302


🏁 Script executed:

#!/bin/bash
# Double-check for eslint.config.js file
echo "=== Searching for eslint.config files ==="
find . -maxdepth 2 -name 'eslint.config.*' 2>/dev/null | head -20

# Verify the --ignore-path flag issue by checking ESLint 9 documentation
echo -e "\n=== ESLint version and config format check ==="
echo "ESLint version in package.json:"
jq '.devDependencies.eslint' package.json

# Check if .gitignore exists (referenced in lint:path)
echo -e "\n=== Checking .gitignore ==="
ls -la .gitignore 2>/dev/null | head -1

Repository: OpenZeppelin/openzeppelin-upgrades

Length of output: 296


🌐 Web query:

ESLint 9.0.0 --ignore-path CLI flag removed breaking change

💡 Result:

In ESLint v9.0.0, when using the new flat config (eslint.config.js), the CLI no longer supports several legacy flags, including --ignore-path. This is because flat config does not read .eslintignore files, so there’s no “ignore file path” concept to point ESLint at via CLI. (eslint.org)

What to do instead

  • Move ignore patterns into eslint.config.js (preferred in v9 flat config), e.g. use flat-config ignores or import ignore files.
  • If you previously did --ignore-path .gitignore, ESLint recommends importing it via includeIgnoreFile() from @eslint/compat in eslint.config.js. (eslint.org)

(If you’re seeing advice that this flag is “removed from ESLint entirely,” note it’s specifically unsupported with flat config in v9; ESLint’s v9 migration docs and config migration guide call this out under flat-config CLI flag changes.) (eslint.org)

Citations:


🌐 Web query:

ESLint 9 legacy .eslintrc.js support --ignore-path flag compatibility

💡 Result:

In ESLint 9, flat config (eslint.config.*) is the default, and --ignore-path is not supported in flat-config mode. ESLint also doesn’t read .eslintignore in flat-config mode. (eslint.org)

What works (and what doesn’t)

  • Default ESLint 9 (flat config):

    • --ignore-path does not work. (eslint.org)
    • Use instead:
      • ignores: [...] in eslint.config.*, or
      • includeIgnoreFile() from @eslint/compat to import .gitignore/ignore files. (eslint.org)
  • Legacy .eslintrc.* mode (ESLint 9):

    • Legacy config is still available if you set ESLINT_USE_FLAT_CONFIG=false. (eslint.org)
    • In that legacy mode, --ignore-path is part of the eslintrc-era CLI behavior (it’s specifically called out as removed only for flat config), so it’s the mode you must be in if you need --ignore-path. (eslint.org)

Common “gotcha” (integrations/tools)

If you’re using an integration that passes options like ignorePath programmatically (not via the CLI), ESLint 9’s newer API path may reject it; such tools typically need updating to ESLint 9 / flat config, or to explicitly use the legacy API (LegacyESLint). (github.com)

Citations:


Migrate ESLint configuration to flat config format or explicitly enable legacy mode—the current setup will fail with ESLint 9.

ESLint 9 defaults to flat config mode, which no longer reads .eslintrc.js files or supports the --ignore-path CLI flag. The current lint:path script uses --ignore-path .gitignore, which will fail with ESLint 9's default flat config.

To resolve this, choose one of:

  1. Migrate to flat config (recommended): Create eslint.config.js using the ESLint migration tool:

    npx `@eslint/migrate-config` .eslintrc.js
    

    Then update the lint:path script to remove --ignore-path and instead use includeIgnoreFile() from @eslint/compat in the flat config to load .gitignore patterns.

  2. Enable legacy mode temporarily: Set the environment variable ESLINT_USE_FLAT_CONFIG=false to keep using the .eslintrc.js format, though this is not recommended long-term as ESLint is phasing out legacy config support.

Also consider specifying Node.js version constraints (ESLint 9 requires Node.js ≥ v18.18.0).

🤖 Prompt for AI Agents
In `@package.json` around lines 19 - 24, The current ESLint 9 upgrade will break
the existing .eslintrc.js + lint:path script that uses --ignore-path; either
migrate to flat config by running the migration tool to produce eslint.config.js
(npx `@eslint/migrate-config` .eslintrc.js), update the new eslint.config.js to
call includeIgnoreFile() from `@eslint/compat` to load .gitignore patterns, and
remove --ignore-path from the lint:path npm script, or temporarily toggle legacy
behavior by setting ESLINT_USE_FLAT_CONFIG=false in the lint:path script
environment so the existing .eslintrc.js continues to work; also ensure Node.js
engine in package.json meets ESLint 9 minimum (≥18.18.0).

@renovate
renovate Bot force-pushed the renovate/major-linters branch 2 times, most recently from 5fab8d9 to cff250e Compare February 2, 2026 17:52
@renovate
renovate Bot force-pushed the renovate/major-linters branch from cff250e to c40203b Compare February 7, 2026 01:58

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants