mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-19 19:16:17 +00:00
feat: add cargo clippy --fix --allow-dirty to pre-commit command (#282)
Resolves #277 - Add --fix flag to automatically fix clippy warnings - Add --allow-dirty flag to run on dirty Git trees - Improves code quality in pre-commit workflow
This commit is contained in:
@@ -23,7 +23,7 @@ fmt-check:
|
|||||||
.PHONY: clippy
|
.PHONY: clippy
|
||||||
clippy:
|
clippy:
|
||||||
@echo "🔍 Running clippy checks..."
|
@echo "🔍 Running clippy checks..."
|
||||||
cargo clippy --all-targets --all-features -- -D warnings
|
cargo clippy --all-targets --all-features --fix --allow-dirty -- -D warnings
|
||||||
|
|
||||||
.PHONY: check
|
.PHONY: check
|
||||||
check:
|
check:
|
||||||
|
|||||||
Reference in New Issue
Block a user