chore(lint,format): make lint and fmt depend on build/templ

This commit is contained in:
Guz
2024-10-23 19:08:03 -03:00
parent 218b991caa
commit 535b7aa975

View File

@@ -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 .