Skip to content

DevTools for Oxc ​

DevTools for Oxc (@vitejs/devtools-oxc) inspects Oxlint and Oxfmt from the Oxc toolchain. It was donated from yuyinws/oxc-inspector by Leo.

What it does ​

Tools for working with the Oxc toolchain:

  • Toolchain setup — install Oxlint and Oxfmt, or migrate existing ESLint, Prettier, and Biome configurations.
  • Lint inspection — run Oxlint and inspect diagnostics.
  • Configuration analysis — explore Oxlint rules, plugins, and overrides.
  • Format inspection — run Oxfmt and inspect formatting results.

Getting started ​

Follow Getting Started to set up Vite DevTools, then open the Oxc launcher and install the integration. Restart the development server to activate it.

It can also run as a standalone CLI:

sh
npx @vitejs/devtools-oxc

Overview ​

View installed versions and configuration files. Set up Oxlint and Oxfmt from the launcher.

Oxc DevTools overview

Vite Plus ​

When Vite Plus is detected, DevTools uses its bundled Oxc toolchain and runs Oxlint and Oxfmt commands through vp.

Oxc DevTools overview

Oxlint ​

Lint Inspector ​

Run Oxlint and inspect current and previous results.

Oxlint result history

View run metadata and diagnostics grouped by file.

Oxlint result details

Config Inspector ​

Review the resolved configuration and rule summary.

Oxlint configuration overview

Search and filter rules by category, plugin, usage, and state.

Oxlint rule table

Inspect the plugins and rules applied by each file-pattern override.

Oxlint configuration overrides

Oxfmt ​

Oxfmt Inspector ​

Run Oxfmt in check or write mode and inspect formatting results.

Oxfmt inspector

Released under the MIT License.