Oxc Plugin

Adapter plugin that formats JavaScript and TypeScript files via Oxc.

Install and Setup

In your project's directory with a dprint.json file, run:

dprint config add oxc

This will update your config file to have an entry for the plugin. Then optionally specify a "oxc" property to add configuration:

{
  "oxc": {
    // oxc's config goes here
  },
  "plugins": [
    "https://plugins.dprint.dev/oxc-x.x.x.wasm"
  ]
}

Configuration

See Configuration

Playground

See Playground

Source

See https://github.com/dprint/dprint-plugin-oxc