Skip to content

Commit

Permalink
Merge pull request #1491 from stmcginnis/update-mdlint
Browse files Browse the repository at this point in the history
Update mdlint to v0.31.1
  • Loading branch information
k8s-ci-robot authored Apr 11, 2022
2 parents 9ad3a15 + 6b9cff2 commit c77f5fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ lint-go-full: lint-go ## Run slower linters to detect possible issues

.PHONY: lint-markdown
lint-markdown: ## Lint the project's markdown
docker run --rm -v "$$(pwd)":/build$(DOCKER_VOL_OPTS) gcr.io/cluster-api-provider-vsphere/extra/mdlint:0.23.2 -- /md/lint -i vendor -i contrib/haproxy/openapi .
docker run --rm -v "$$(pwd)":/build$(DOCKER_VOL_OPTS) gcr.io/cluster-api-provider-vsphere/extra/mdlint:0.31.1 -- /md/lint -i vendor -i contrib/haproxy/openapi .

.PHONY: lint-shell
lint-shell: ## Lint the project's shell scripts
Expand Down
2 changes: 1 addition & 1 deletion hack/tools/mdlint/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## INSTALL MDLINT ##
################################################################################
FROM node:12.6.0-slim as build
ARG MDLINT_CLI_VERSION=0.23.2
ARG MDLINT_CLI_VERSION=0.31.1
ENV MDLINT_CLI_VERSION=${MDLINT_CLI_VERSION}
RUN npm install -g --prefix=/md markdownlint-cli@${MDLINT_CLI_VERSION} && \
ln -s /md/lib/node_modules/markdownlint-cli/markdownlint.js /md/lint
Expand Down
2 changes: 1 addition & 1 deletion hack/tools/mdlint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

all: build

MDLINT_CLI_VERSION ?= 0.23.2
MDLINT_CLI_VERSION ?= 0.31.1
IMAGE_NAME ?= gcr.io/cluster-api-provider-vsphere/extra/mdlint
IMAGE_TAG ?= $(IMAGE_NAME):$(MDLINT_CLI_VERSION)

Expand Down

0 comments on commit c77f5fb

Please sign in to comment.