A wrapper plugin that adds ReasonML (`.re` files) formatting support to Prettier by delegating to the `refmt` binary. Version 0.2.0 is the current stable release, with no regular cadence. Unlike AST-transforming plugins, this passes code directly to `refmt`, making it a thin integration layer. It requires `refmt` or `bsrefmt` to be installed separately, and inherits Prettier's configured options like `print-width`. Useful for ReasonML projects already using Prettier.
npm install prettier-plugin-reasonmlVerified import paths — ran on the pinned version, not inferred.
Install globally and use Prettier CLI to format ReasonML files with custom print width.
Use CLI or other editor integrations; see https://github.com/prettier/prettier-vscode/issues/395
Ensure refmt (from reason package) is installed and accessible, or set REFMT_BIN=bsrefmt
Only options that translate to refmt flags (e.g., print-width) have effect.
Install with npm install prettier-plugin-reasonml in the project or globally.
Install refmt via npm install -g reason or set REFMT_BIN to bsrefmt.