chore: Enable more linters

This commit is contained in:
Anton Ovchinnikov
2025-07-14 00:32:26 +02:00
parent 053d73048c
commit 05d0078451
9 changed files with 40 additions and 17 deletions
+11 -3
View File
@@ -93,9 +93,17 @@ vet:
format:
go fmt ./...
.PHONY: lint
lint:
golangci-lint run
LINT_TARGETS := lint lint-and-fix
.PHONY: $(LINT_TARGETS) _lint
$(LINT_TARGETS): _lint
lint: ARGS=
lint-and-fix: ARGS=--fix
_lint:
golangci-lint run $(ARGS)
# .PHONY: lint-and-fix
# lint-and-fix: lint
# ARGS="--fix"
.PHONY: docs-image-push
docs-image: