chore: Enable more linters

This commit is contained in:
Anton Ovchinnikov committed 2025-07-14 00:32:26 +02:00
1 parent 053d73048c
commit 05d0078451
9 files changed
+40 -17

No files matched your search

+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: