swayfmt 0.24.4

Sway language formatter.
Documentation

swayfmt

A tool for formatting Sway code according to style guidelines.

Installation

To use swayfmt you'll need to install the forc-fmt plugin that will run the formatter. You can install the complete Fuel toolchain with fuelup, or for swayfmt only, see CONTRIBUTING.