From 82e71763e292459ecd80d036a5cc11b1d57afd42 Mon Sep 17 00:00:00 2001 From: ErfanTech Date: Mon, 9 Sep 2024 12:39:57 +0330 Subject: [PATCH] fix(makefile): skip formatting vendor and auto generated files --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8771526..79ddcd4 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ format: @which gofumpt || (go install mvdan.cc/gofumpt@latest) @gofumpt -l -w $(ROOT) @which gci || (go install github.com/daixiang0/gci@latest) - @gci write $(ROOT) + @gci write $(ROOT) --skip-generated --skip-vendor @which golangci-lint || (go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.0) @golangci-lint run --fix