forge-fmt 0.2.0

solidity formatting
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
struct Foo {}

struct Bar {
    uint256 foo;
    string bar;
}

struct MyStruct {
    // first 1
    // first 2
    uint256 field1;
    // second
    uint256 field2;
}