Skip to content

Files

Latest commit

dc8e5f6 · Oct 31, 2022

History

History
This branch is 1707 commits behind FuelLabs/sway:master.

swayfmt

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.