[skip chg] Migrate linting and formatting to oxc - #439
Merged
Conversation
Contributor
|
❌ There is undocummented changes. Run The following packages have changes but are not documented.
Show changes |
Replace ESLint with oxlint (+ oxlint-tsgolint for type-aware linting) and Prettier with oxfmt. - Add .oxlintrc.json mirroring the previous ESLint rules. Type-aware linting is enabled via --type-aware but scoped to only no-floating-promises to match the previous behavior; all other type-aware rules are disabled. - Add .oxfmtrc.json (printWidth 80, sortImports, sortPackageJson off) and migrate the Prettier ignore patterns. - Migrate the devtools package to oxlint (react-hooks plugin). - Update catalog, scripts, VSCode settings/extensions. - Remove an unreachable return surfaced by oxlint (csharp symbols).
Reformat the repository with oxfmt (replacing Prettier). Mostly ternary style changes (oxfmt does not support experimentalTernaries) and import grouping via sortImports.
timotheeguerin
force-pushed
the
migrate-to-oxc
branch
from
July 15, 2026 18:05
decca16 to
b4800dd
Compare
timotheeguerin
marked this pull request as ready for review
July 15, 2026 18:46
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 ESLint with oxlint (+
oxlint-tsgolintfor type-aware linting) and Prettier with oxfmt.Linting (ESLint → oxlint)
.oxlintrc.jsonmirroring the previous ESLint config (same custom rules, ignores,trace-clino-consoleoverride, and the vitest test-file rules).--type-aware, but scoped to onlyno-floating-promisesto preserve the previous behavior; all other type-aware rules are disabled (see comments in the config for how to opt back in).packages/devtoolsmigrated to oxlint using thereact-hooksplugin.eslint.config.jsfiles.Formatting (Prettier → oxfmt)
.oxfmtrc.json(printWidth: 80,sortImports,sortPackageJson: false), with the Prettier ignore patterns migrated over.prettier/prettier-plugin-organize-imports.style: apply oxfmt formatting). Main visible changes: ternaries revert fromexperimentalTernariesto the standard style, and imports are grouped viasortImports.Other
oxc.oxc-vscode).@types/nodeat the root so type-aware linting can resolvetypes: ["node"].returnsurfaced by oxlint (csharpsymbols).Verified
build,lint(root + devtools),format:check, andsync-publish-config:checkall pass.