#Can I use `dx fmt --check` with `rustfmt --check`

1 messages · Page 1 of 1 (latest)

oak mesa
#

It looks like currently dx fmt will go against rustfmt, which makes sense because rsx is formatted differently.

To fix this I figured I could replace our workflow with dx fmt --check --all-code but that seems to have the same issue. Is there a way I can add both to our CLI?

tidal trench
#

We should be letting rustfmt take precedence

oak mesa
#

Ayy I'm back bugging you guys for help this is awesome 😆

So far I'm just seeing

dx fmt --check --all-code
313 files needed formatting

dx fmt passesdx fmt --check and cargo fmt passes rustfmt