chore: replace pre-commit hook with cargo alias

This commit is contained in:
Tunglies
2025-10-14 18:21:25 +08:00
Unverified
parent bb2059c76f
commit 02b44d83af

View File

@@ -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