forgecode / .forge /commands /check.md
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
c981f27 verified
|
Raw History Blame Contribute Delete
361 Bytes
metadata
name: check
description: Checks if the code is ready to be committed
  • Run the lint and test commands and verify if everything is fine. cargo +nightly fmt --all; cargo +nightly clippy --fix --allow-staged --allow-dirty --workspace cargo insta test --accept --unreferenced=delete
  • Fix every issue found in the process