Files
test-repo/packages/plugin-oxc
fisker Cheungandautofix-ci[bot] f41214b2f1 Add changelog for hermes and oxc plugin (#17629)
* Add changelog for `hermes` and `oxc` plugin

* Apply automated changes

* Move to `flow/`

* Spellcheck

* Reword

* Reword

* Apply automated changes

* Fix

* Reword

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-22 00:49:06 +09:00
..
2025-05-27 09:35:31 +08:00

@prettier/plugin-oxc

Prettier Oxc plugin.

Install

yarn add --dev prettier @prettier/plugin-oxc

Usage

Create or modify your prettier configuration file to use the plugin:

plugins:
  - "@prettier/plugin-oxc"

Requires prettier >= 3.6

Or config explicitly

overrides:
  - files:
      - "**/*.{js,mjs,cjs,jsx}"
    options:
      plugins:
        - "@prettier/plugin-oxc"
      parser: oxc
  - files:
      - "**/*.{ts,mts,cts,tsx}"
    options:
      plugins:
        - "@prettier/plugin-oxc"
      parser: oxc-ts