From d96962adf6238b8c168df93315b7c8ef784415dd Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 10 Apr 2026 15:09:32 +0300 Subject: chore: add pre-commit fmt hook --- CONTRIBUTING.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5a4784d5..42a08593 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,6 +48,14 @@ If you plan to implement the change yourself, say that directly in the issue and ## Before submitting a PR +Install the repo hook once in your clone. + +```bash +just install-hooks +``` + +The pre-commit hook runs `cargo fmt --check` before every commit. + Run the PR checks and make sure they pass. ```bash -- cgit v1.2.3