We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a852822 + 3ac970f commit 51ff80aCopy full SHA for 51ff80a
Makefile.common
@@ -159,6 +159,15 @@ ifdef GOLANGCI_LINT
159
$(GOLANGCI_LINT) run $(GOLANGCI_LINT_OPTS) $(pkgs)
160
endif
161
162
+.PHONY: common-yamllint
163
+common-yamllint:
164
+ @echo ">> running yamllint on all YAML files in the repository"
165
+ifeq (, $(shell which yamllint))
166
+ @echo "yamllint not installed so skipping"
167
+else
168
+ yamllint .
169
+endif
170
+
171
# For backward-compatibility.
172
.PHONY: common-staticcheck
173
common-staticcheck: lint
0 commit comments