From 02b44d83af7d1b1e61ba60a7c7f36b6866780c9e Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Tue, 14 Oct 2025 18:21:25 +0800 Subject: [PATCH] chore: replace pre-commit hook with cargo alias --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 4e2adc27..13cea09b 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -15,7 +15,7 @@ if [ -n "$RUST_FILES" ]; then cargo fmt # Lint with clippy, print warnings but don't fail commit - cargo clippy || echo "⚠️ clippy found issues, but commit will continue." + cargo clippy-all || echo "⚠️ clippy found issues, but commit will continue." cd .. fi