Skip to content

Migrate to TypeScript 7 and Oxlint - #374

Merged
bartekplus merged 1 commit into
masterfrom
codex/migrate-typescript-7-oxlint
Jul 28, 2026
Merged

Migrate to TypeScript 7 and Oxlint#374
bartekplus merged 1 commit into
masterfrom
codex/migrate-typescript-7-oxlint

Conversation

@bartekplus

Copy link
Copy Markdown
Owner

Summary

  • replace TypeScript 6 with TypeScript 7.0.2
  • replace ESLint and typescript-eslint with type-aware Oxlint
  • preserve the existing architecture import boundaries and lint policy
  • fix all 83 unnecessary type assertions instead of disabling typescript/no-unnecessary-type-assertion
  • update CI and contributor documentation for the new toolchain

Why

The previous lint stack depended on TypeScript 6-compatible typescript-eslint packages. Moving type checking and linting together to TypeScript 7 and Oxlint removes that compatibility split and leaves a single TypeScript compiler version in the dependency tree.

Impact

bun run check now runs type-aware Oxlint, Prettier, and TypeScript 7. ESLint, typescript-eslint, their support packages, and eslint.config.js are removed. Runtime behavior remains unchanged; the source edits remove assertions that the type system proved unnecessary.

Validation

  • bun run check
  • bun run test — 1,561 passing
  • bun run check:e2e:coverage
  • bun run build
  • bun run build --platform=firefox
  • bun run test:e2e --platform=chrome — 26 passing
  • bun run test:e2e --platform=firefox — 26 passing
  • git diff --check

@bartekplus
bartekplus marked this pull request as ready for review July 28, 2026 13:08
@bartekplus
bartekplus merged commit a2a7c6e into master Jul 28, 2026
8 checks passed
@bartekplus
bartekplus deleted the codex/migrate-typescript-7-oxlint branch July 28, 2026 13:43
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.

1 participant