forge-fmt 0.2.0

solidity formatting
Documentation
// config: bracket_spacing = true
contract Contract {
    function test() {
        unchecked {
            a += 1;
        }

        unchecked {
            a += 1;
        }
        2 + 2;

        unchecked {
            a += 1;
        }
        unchecked { }

        1 + 1;
    }
}