Skip to content

Oxlint and oxfmt toolchains#366

Closed
AleksanderEvensen wants to merge 1 commit intoTanStack:mainfrom
AleksanderEvensen:toolchain/oxc
Closed

Oxlint and oxfmt toolchains#366
AleksanderEvensen wants to merge 1 commit intoTanStack:mainfrom
AleksanderEvensen:toolchain/oxc

Conversation

@AleksanderEvensen
Copy link

Adds the oxc toolchain formatter and linter as toolchain addons in the cli.

Note: This PR depends on TanStack/config#342. I can change the dependency on @tanstack/oxlint-config if it's preferred not to use unmerged packages.

oxlint and oxfmt

Oxlint and oxfmt are a part of the oxc high-performance toolchain.

  • Oxlint: is an ESLint compatible linter with native support for popular plugins eslint plugins, while also providing support for ESLint's JS plugin API which is currently in technical preview.
  • Oxfmt: is a rust based alternative and prettier compatible formatter.

The icon was sourced from: https://github.com/oxc-project/oxc-assets

@tannerlinsley
Copy link
Member

tannerlinsley commented Feb 17, 2026

Ran this branch locally and there is one hard blocker before merge: generated apps cannot install because @tanstack/oxlint-config@^0.1.0 is not published on npm (E404). Repro: scaffold with --toolchain oxlint then run npm install in the generated app.

Suggested fix: remove dependency on unpublished @tanstack/oxlint-config for now (use an inline/default oxlint config), then we can follow up to switch once the package is published.

Everything else looks directionally good and the toolchain scaffolding appears in both React and Solid.

@tannerlinsley
Copy link
Member

Follow-up: given the current install blocker ( is not published), this PR should be reopened only with either (a) a passing setup that removes the unpublished dependency, or (b) a concrete publication plan/timeline for and updated dependency/versioning to match. Closing for now to keep main mergeable.

@tannerlinsley
Copy link
Member

Correction: the missing package is @tanstack/oxlint-config. Please reopen only with either (1) a passing setup that removes this unpublished dependency, or (2) a concrete publish plan/timeline for @tanstack/oxlint-config plus updated dependency/versioning once available.

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.

2 participants