A tool for formatting Sway code according to style guidelines.
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
.