chore(deps): update golangci-lint to v2

This commit is contained in:
Julien Neuhart
2025-03-26 20:08:18 +01:00
parent e7c77b7bf3
commit 0b7c51a323
5 changed files with 42 additions and 38 deletions

View File

@@ -180,13 +180,9 @@ lint-prettier: ## Lint non-Golang codebase
lint-todo: ## Find TODOs in Golang codebase
golangci-lint run --no-config --disable-all --enable godox
# go install mvdan.cc/gofumpt@latest
# go install github.com/daixiang0/gci@latest
.PHONY: fmt
fmt: ## Format Golang codebase and "optimize" the dependencies
gofumpt -l -w .
gci write -s standard -s default -s "prefix(github.com/gotenberg/gotenberg/v8)" --skip-generated --skip-vendor --custom-order .
go mod tidy
golangci-lint fmt
.PHONY: prettify
prettify: ## Format non-Golang codebase