Repository navigation
replace eslint with oxlint and upgrade to typescript 7 - #62
Merged
Merged
Conversation
This was referenced Oct 23, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the ESLint toolchain with oxlint and bumps the build compiler to TypeScript 7.0.2 — unblocking the typescript 6→7 bump from grouped Dependabot PR #56.
Why oxlint
typescript-eslint caps its peer at
typescript <6.1.0, so no released version supports TS 7; it was the sole dependency blocking the upgrade. The ESLint config used only typescript-eslint'srecommended(syntactic) set plus react-hooks — no type-aware rules — so a parser-independent linter replaces it with no loss of coverage.Changes
typescript^6.0.3→^7.0.2eslint,@eslint/js,typescript-eslint,eslint-plugin-react-hooks,eslint-config-prettier,globalsoxlint(single dev dependency)eslint.config.js→.oxlintrc.json;lint/lint:fixscripts and the lint-staged hook now call oxlintoxlint parity (verified empirically)
oxlint catches the same classes the old config enforced:
no-debugger,no-unused-vars,no-empty(allowEmptyCatch), and on the React bindingsreact-hooks/rules-of-hooks(error) +react-hooks/exhaustive-deps(warn).No consumer impact
The published
.d.tsemitted by TS 7 are byte-identical to the previous TS 6 output (verified by diffing a TS 6 build against the TS 7 build) — no type or runtime surface change.Verified locally
npm install clean (0 vulnerabilities),
tsc --noEmit(TS 7, 0 errors), oxlint clean, prettier check, vitest 40/40 on real wasm, andnpm run buildemits all three entry points with declarations.