FuelLabs/sway

`forc fmt` should format manifest fields with rules similar to Cargo style guide

Open

#687 opened on Jan 22, 2022

View on GitHub
 (1 comment) (1 reaction) (0 assignees)Rust (61,702 stars) (5,421 forks)batch import
enhancementforcformattergood first issue

Description

Currently, the manifest formatter simply orders all fields alphabetically. This should be changed to order them in a similar way to the Cargo style guide. This ordering should also be documented in The Sway Book.

https://github.com/rust-dev-tools/fmt-rfcs/blob/215291ef72823ae3a6adfad9b26334bed6707a13/guide/cargo.md

Contributor guide