starknet-foundry icon indicating copy to clipboard operation
starknet-foundry copied to clipboard

Enable auto formatting the imports with `rustfmt` when it is stable

Open Arcticae opened this issue 11 months ago • 0 comments

Which components does the task require to be changed? (think hard pls)

snforge, sncast

Description

There's a feature in rustfmt which enables auto-formatting the imports, but it's only available in nightly versions https://github.com/rust-lang/rustfmt/issues/4991

However, we use stable versions of rust toolchain so it's impossible to use right now

Arcticae avatar Mar 14 '24 11:03 Arcticae