Crate swayfmt

source ·
Expand description

Based on rustfmt, swayfmt aims to be a transparent approach to formatting Sway code.

swayfmt configurations can be adjusted with a swayfmt.toml config file declared at the root of a Sway project, however the defualt formatter does not require the presence of one and any fields omitted will remain as default.

Modules

Structs

Enums

Traits