diff --git a/Makefile b/Makefile index 53aad6d68da..28077b6960c 100644 --- a/Makefile +++ b/Makefile @@ -169,6 +169,10 @@ check: ## Cargo check all the targets. clippy: ## Check clippy rules. cargo clippy --workspace --all-targets --all-features -- -D warnings +.PHONY: fix-clippy +fix-clippy: ## Fix clippy violations. + cargo clippy --workspace --all-targets --all-features --fix + .PHONY: fmt-check fmt-check: ## Check code format. cargo fmt --all -- --check