From 535b7aa9754fd86ae9b04df3e6b42cbd33b106b2 Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Wed, 23 Oct 2024 19:08:03 -0300 Subject: [PATCH] chore(lint,format): make lint and fmt depend on build/templ --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 672e53d..54e33ac 100644 --- a/makefile +++ b/makefile @@ -5,11 +5,11 @@ lint: build/templ go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1 run npx eslint . -lint/fix: +lint/fix: build/templ go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.1 run npx eslint --fix . -fmt: +fmt: build/templ go fmt ./. go run github.com/a-h/templ/cmd/templ@v0.2.707 fmt . go run mvdan.cc/gofumpt@v0.7.0 -l -w .