Crate swayfmt

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 default formatter does not require the presence of one and any fields omitted will remain as default.

Modules§

comments
config
parse

Structs§

Formatter

Enums§

FormatterError

Traits§

Format