Pre-commit template #77
-
I added a personal pre-commit since I often forget to run My current (super simple) pre-commit: #! /bin/bash
cargo test || exit 1
cargo fmt --all --check |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That would be a nice improvement indeed 👍🏻 I suggest using Pre Commit hooks which is a common tool for this task. So we can create the
Feel free to create a |
Beta Was this translation helpful? Give feedback.
That would be a nice improvement indeed 👍🏻
I suggest using Pre Commit hooks which is a common tool for this task. So we can create the
.pre-commit-config.yaml
file to this repository and everyone who usespre-commit
would benefit from it.clippy
would be another useful tool to add in the pre-commit hooks.Feel free to create a
dx
issue or even a pull request w.r.t. adding pre-commit hooks 🚢