Merge remote-tracking branch 'prometheus/release-0.11' into PMM-7-merge-commit

This commit is contained in:
taras.shcherban 2022-10-17 16:03:22 +02:00
commit 97f1ecbeeb

View File

@ -159,6 +159,15 @@ ifdef GOLANGCI_LINT
$(GOLANGCI_LINT) run $(GOLANGCI_LINT_OPTS) $(pkgs)
endif
.PHONY: common-yamllint
common-yamllint:
@echo ">> running yamllint on all YAML files in the repository"
ifeq (, $(shell which yamllint))
@echo "yamllint not installed so skipping"
else
yamllint .
endif
# For backward-compatibility.
.PHONY: common-staticcheck
common-staticcheck: lint