Skip to content

Upgrade eslint 10 + eslint-plugin-react-hooks 7 (11 pre-existing findings), then typescript 7 #119

Open

Description

@jctanner

Two held-back upgrades from the combined dependency catch-up (PR #118), to be done together:

eslint 10 + eslint-plugin-react-hooks 7

The pair is mutually compatible, but react-hooks 7 enables the React-compiler-era rules that flag 11 pre-existing findings in the frontend:

  • AppShell.tsx:23 — setState synchronously within an effect (cascading renders)
  • FileEditorPage.tsx:48, NewPullPage.tsx:35 — same set-state-in-effect pattern
  • RepositoryTreeList.tsx (77, 85, 102, 108), useApiData.ts:15, useLiveUpdates.ts:19 — refs accessed during render

Bump eslint to 10 and eslint-plugin-react-hooks to 7 together with the fixes for these 11 findings.

typescript 7

typescript@7 (the native rewrite) is held at 5.9.3 because openapi-typescript peers on typescript@^5.x. Revisit when the ecosystem (openapi-typescript, typescript-eslint, @types/*) supports it.

From the review of the combined catch-up (PR #118).

Activity

  1. fullsend-ai-triage commented on Nov 21, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 7:19 PM UTC · Completed 7:21 PM UTC

    Commit: 504ed22 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.19

  2. fullsend-ai-triage commented on Nov 21, 2026

    @fullsend-ai-triage

    This issue is well specified, but it can't be started yet because of two dependencies.

    1. PR chore(deps): catch up all frontend and Python dependencies at once #118 is still open. This work is explicitly a follow-up to that combined catch-up PR, and both change the same frontend package.json and lockfile. Wait for chore(deps): catch up all frontend and Python dependencies at once #118 to merge, then bump eslint to 10 and eslint-plugin-react-hooks to 7 together with the fixes for the 11 findings. Otherwise the lockfile conflicts that chore(deps): catch up all frontend and Python dependencies at once #118 was meant to end will come back.

    2. The typescript 7 part is blocked upstream. openapi-typescript still peers on typescript@^5. The upstream issue about TypeScript 7 support (openapi-typescript doesn't work with Typescript 7 openapi-ts/openapi-typescript#2841) is open. Revisit the TypeScript bump after it is resolved. typescript-eslint and the @types/* packages should also be checked at that point, as the issue notes.

    The eslint and react-hooks work does not depend on the TypeScript bump. Once #118 lands, it could be done on its own, with typescript 7 tracked as a separate follow-up. A maintainer may want to split the issue then.

    All the files named in the issue exist in src/frontend/src/. No open PR currently addresses this issue.

    Blocked by:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions