diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-10 15:09:32 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-04-10 15:09:32 +0300 |
| commit | d96962adf6238b8c168df93315b7c8ef784415dd (patch) | |
| tree | 9ebfbbd8c84d4a42a331dc3e45a393aa8f21b9c4 /CONTRIBUTING.md | |
| parent | f5282d9ad28af32c11db1e13a485878225fcd9bf (diff) | |
chore: add pre-commit fmt hook
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
