forge-fmt 0.2.0

solidity formatting
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
contract Yul {
    function test() external {
        assembly {
            let a := "abc"
            let b := 'abc'
            let c := "abc":u32
            let d := 'abc':u32
            let e := hex"deadbeef"
            let f := hex'deadbeef'
            let g := hex"deadbeef":u32
            let h := hex'deadbeef':u32
            datacopy(0, dataoffset('runtime'), datasize("runtime"))
            return(0, datasize("runtime"))
        }
    }
}