Back to Forgecode

Check

.forge/commands/check.md

2.12.10282 B
Original Source
  • Run the lint and test commands and verify if everything is fine. <lint>cargo +nightly fmt --all; cargo +nightly clippy --fix --allow-staged --allow-dirty --workspace</lint> <test>cargo insta test --accept --unreferenced=delete</test>
  • Fix every issue found in the process