From ac21986f307aaea60fb6c9f1cdd7b3166394374e Mon Sep 17 00:00:00 2001 From: sweexordious Date: Wed, 9 Oct 2024 19:19:10 +0400 Subject: [PATCH] chore: use golangci-lint to format the code --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0de3476548..331aa473af 100644 --- a/Makefile +++ b/Makefile @@ -255,8 +255,8 @@ clean_certs: ############################################################################### format: - find . -name '*.go' -type f -not -path "*.git*" -not -name '*.pb.go' -not -name '*pb_test.go' | xargs gofmt -w -s - find . -name '*.go' -type f -not -path "*.git*" -not -name '*.pb.go' -not -name '*pb_test.go' | xargs goimports -w -local github.com/cometbft/cometbft + @echo "--> Running golangci-lint --fix" + @golangci-lint run --fix .PHONY: format lint: