mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 17:52:12 +00:00
@@ -14,6 +14,7 @@ include $(KUSTOMIZE_ROOT)/Makefile-tools.mk
|
|||||||
.PHONY: lint test fix fmt tidy vet build
|
.PHONY: lint test fix fmt tidy vet build
|
||||||
|
|
||||||
lint: $(MYGOBIN)/golangci-lint
|
lint: $(MYGOBIN)/golangci-lint
|
||||||
|
$(MYGOBIN)/golangci-lint cache clean # Workaround for https://github.com/golangci/golangci-lint/issues/3228
|
||||||
$(MYGOBIN)/golangci-lint \
|
$(MYGOBIN)/golangci-lint \
|
||||||
-c $$KUSTOMIZE_ROOT/.golangci.yml \
|
-c $$KUSTOMIZE_ROOT/.golangci.yml \
|
||||||
--path-prefix $(shell pwd | sed -E 's|(.*\/kustomize)/(.*)|\2|') \
|
--path-prefix $(shell pwd | sed -E 's|(.*\/kustomize)/(.*)|\2|') \
|
||||||
|
|||||||
Reference in New Issue
Block a user