Skip to content

Fix eslint v10 compatibility issues after dependency bump#1461

Merged
Strift merged 3 commits intodependabot/npm_and_yarn/eslint-c3c47eb35ffrom
copilot/sub-pr-1460
Mar 3, 2026
Merged

Fix eslint v10 compatibility issues after dependency bump#1461
Strift merged 3 commits intodependabot/npm_and_yarn/eslint-c3c47eb35ffrom
copilot/sub-pr-1460

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

After bumping eslint to v10, pnpm lint fails due to breaking changes in the new major version affecting plugin imports and newly enforced rules.

Changes

  • eslint.config.js

    • eslint-plugin-cypress: subpath ./flat was removed in v6.x — updated import to use the main entry
    • eslint-plugin-react: removed config block — v7.37.5 calls the removed context.getFilename() API; no compatible release exists yet
  • instant-meilisearch-client.ts: fix preserve-caught-error — rethrown error now includes { cause: e } and uses e?.message ?? String(e) for the message

  • string.ts: fix no-useless-assignmentacc += in reduce callback changed to acc +


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@changeset-bot
Copy link

changeset-bot bot commented Mar 3, 2026

⚠️ No Changeset found

Latest commit: f409f43

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI and others added 2 commits March 3, 2026 03:40
Co-authored-by: Strift <5786750+Strift@users.noreply.github.com>
Co-authored-by: Strift <5786750+Strift@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 3, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • download.cypress.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node index.js --exec install (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Bump the eslint group across 1 directory with 9 updates Fix eslint v10 compatibility issues after dependency bump Mar 3, 2026
@Strift Strift marked this pull request as ready for review March 3, 2026 05:25
@Strift Strift merged commit 9497eeb into dependabot/npm_and_yarn/eslint-c3c47eb35f Mar 3, 2026
7 checks passed
@Strift Strift deleted the copilot/sub-pr-1460 branch March 3, 2026 05:27
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.

2 participants