Skip to content

MAINT: Bump eslint from 9.39.1 to 10.4.1 in /frontend - #1850

Merged
Roman Lutz (romanlutz) merged 8 commits into
mainfrom
dependabot/npm_and_yarn/frontend/eslint-10.4.1
May 31, 2026
Merged

Roman Lutz (romanlutz) merged 8 commits into
mainfrom
dependabot/npm_and_yarn/frontend/eslint-10.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 29, 2026 •

Copy link
Copy Markdown
Contributor

Note

Augmented by maintainer (commit 93e58d1). Dependabot's original PR only bumped eslint, but ESLint 10 removed the FlatESLint API which broke @typescript-eslint/utils@8.46.4 with:

TypeError: Class extends value undefined is not a constructor or null
    at .../@typescript-eslint/utils/dist/ts-eslint/eslint/FlatESLint.js:12:49

The following companion changes were added so the lint gate passes:

Package Old New Reason
@typescript-eslint/eslint-plugin 8.46.4 8.60.0 First stable line with eslint ^10.0.0 in peer range
@typescript-eslint/parser 8.46.4 8.60.0 Same
@eslint/js 9.39.1 10.0.1 Match the new ESLint major

Also fixes a single no-useless-assignment violation in frontend/src/utils/messageMapper.ts (newly reported by @eslint/js@10's recommended config: the initial '' on base64Value was overwritten in every branch).

eslint-plugin-react-hooks was intentionally not bumped past 5.2.0 — its v7 release adds a set-state-in-effect rule that flags 13 pre-existing call sites, which is a real refactor unrelated to this dependency bump. The 5.2.0 plugin works fine against ESLint 10 in practice despite its outdated peer range.

Local verification: npm run lint, npm run type-check, and npm test (614 tests) all pass.


Bumps eslint from 9.39.1 to 10.4.1.

Release notes

Sourced from eslint's releases.

v10.4.1

Bug Fixes

  • e557467 fix: update @eslint/plugin-kit version to 0.7.2 (#20930) (Francesco Trotta)
  • d4ce898 fix: propagate failures from delegated commands (#20917) (Minh Vu)
  • f4f3507 fix: prefer-arrow-callback invalid autofix with newline after async (#20916) (kuldeep kumar)
  • c5bc78b fix: false positive for reference in finally block (#20655) (Tanuj Kanti)
  • 27538c0 fix: add missing CodePath and CodePathSegment types (#20853) (Pixel998)

Documentation

  • 61b0add docs: remove deprecated rule from related rules of max-params (#20921) (Tanuj Kanti)
  • 305d5b9 docs: remove deprecated rules from related rules section (#20911) (Tanuj Kanti)
  • 49b0202 docs: fix display: none of ad (#20901) (Tanuj Kanti)
  • 9067f94 docs: switch build to Node.js 24 (#20893) (Milos Djermanovic)
  • c91b041 docs: Update README (GitHub Actions Bot)
  • e349265 docs: clarify semver strings in rule deprecation objects (#20885) (Milos Djermanovic)

Chores

  • b0e466b test: add data property to invalid tests cases for rules (#20924) (Tanuj Kanti)
  • f78838b test: add CodePath type coverage (#20904) (Pixel998)
  • 1daa4bd chore: update eslint-plugin-eslint-comments test data to latest commit (#20922) (Francesco Trotta)
  • 002942c ci: declare contents:read on update-readme workflow (#20919) (Arpit Jain)
  • 64bca24 chore: update ecosystem plugins (#20912) (ESLint Bot)
  • 6d7c832 chore: ignore fflate updates in renovate (#20908) (Pixel998)
  • b2c8638 ci: bump pnpm/action-setup from 6.0.7 to 6.0.8 (#20889) (dependabot[bot])
  • a9b8d7f chore: increase maxBuffer for ecosystem tests (#20881) (sethamus)
  • b702ead chore: update ecosystem update PR settings (#20884) (Pixel998)
  • 507f60e chore: update ecosystem plugins (#20882) (ESLint Bot)
  • 92f5c5b test: add unit test for message-count (#20878) (kuldeep kumar)
  • df32108 chore: add @​eslint/markdown and typescript-eslint ecosystem tests (#20837) (sethamus)
  • 327f91d chore: use includeIgnoreFile internally (#20876) (Kirk Waiblinger)
  • f0dc4bd chore: pin fflate@0.8.2 (#20877) (Milos Djermanovic)
  • 0f4bd25 ci: run Discord alert for ecosystem test failures (#20873) (Copilot)

v10.4.0

Features

  • 1a45ec5 feat: check sequence expressions in for-direction (#20701) (kuldeep kumar)
  • 450040b feat: add includeIgnoreFile() to eslint/config (#20735) (Kirk Waiblinger)

Bug Fixes

  • 544c0c3 fix: escape code path DOT labels in debug output (#20866) (Pixel998)
  • 6799431 fix: update dependency @​eslint/config-helpers to ^0.6.0 (#20850) (renovate[bot])
  • f078fef fix: handle non-array deprecated rule replacements (#20825) (xbinaryx)

Documentation

  • 7e52a71 docs: add mention of @eslint-react/eslint-plugin (#20869) (Pavel)
  • db3468b docs: tweak wording around ambiguous CJS-vs-ESM config (#20865) (Kirk Waiblinger)
  • 9084664 docs: Update README (GitHub Actions Bot)
  • 9cc7387 docs: Update README (GitHub Actions Bot)
  • 3d7b548 docs: Update README (GitHub Actions Bot)
  • 191ec3c docs: Update README (GitHub Actions Bot)

... (truncated)

Commits
  • 4a3d15a 10.4.1
  • 43e7e2b Build: changelog update for 10.4.1
  • e557467 fix: update @eslint/plugin-kit version to 0.7.2 (#20930)
  • b0e466b test: add data property to invalid tests cases for rules (#20924)
  • d4ce898 fix: propagate failures from delegated commands (#20917)
  • f4f3507 fix: prefer-arrow-callback invalid autofix with newline after async (#20916)
  • f78838b test: add CodePath type coverage (#20904)
  • 61b0add docs: remove deprecated rule from related rules of max-params (#20921)
  • 1daa4bd chore: update eslint-plugin-eslint-comments test data to latest commit (#20...
  • 002942c ci: declare contents:read on update-readme workflow (#20919)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [eslint](https://github.com/eslint/eslint) from 9.39.1 to 10.4.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.39.1...v10.4.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.4.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 29, 2026
Roman Lutz (romanlutz) and others added 3 commits May 29, 2026 20:56
…lity

ESLint 10 removed FlatESLint from its public API, which breaks @typescript-eslint/utils <8.57. Bump @typescript-eslint/eslint-plugin and parser to 8.60.0 (first stable line that lists eslint ^10.0.0 as a supported peer) and @eslint/js to 10.0.1 to match the new eslint major.

Also fix a no-useless-assignment violation newly reported by @eslint/js@10's recommended config in messageMapper.ts (the initial '' on base64Value was overwritten in every branch).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@romanlutz Roman Lutz (romanlutz) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

made some updates to make this work

@romanlutz
Roman Lutz (romanlutz) added this pull request to the merge queue May 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch May 30, 2026
Roman Lutz (romanlutz) and others added 2 commits May 30, 2026 15:33
Resolved conflicts in frontend/package.json and frontend/package-lock.json: kept @eslint/js@10.0.1 (required for ESLint 10) and took main's @playwright/test@1.60.0. Lockfile regenerated via npm install.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@romanlutz
Roman Lutz (romanlutz) added this pull request to the merge queue May 31, 2026
Roman Lutz (romanlutz) added a commit that referenced this pull request May 31, 2026
# Conflicts:
#	frontend/package-lock.json
#	frontend/package.json
Roman Lutz (romanlutz) added a commit that referenced this pull request May 31, 2026
After merging PRs #1848 (jest-environment-jsdom), #1849 (@vitejs/plugin-react), and #1850 (eslint) into the vite 8 bump branch, the lockfile is regenerated with
pm install to produce a single consistent tree.

Vite 8 migrated from esbuild to Rolldown for dependency pre-bundling, which required two config changes in vite.config.ts:

- optimizeDeps.esbuildOptions renamed to optimizeDeps.rolldownOptions

- build.rollupOptions.output.manualChunks must be a function, not an object

Because vite no longer pulls in esbuild transitively, ts-jest can no longer compile the .ts AST transformer at runtime. esbuild is added as an explicit devDependency to restore that capability.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Merged via the queue into main with commit 4c31307 May 31, 2026
50 checks passed
@romanlutz
Roman Lutz (romanlutz) deleted the dependabot/npm_and_yarn/frontend/eslint-10.4.1 branch May 31, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants