Skip to content

Commit

Permalink
Update mdlint to v0.31.1
Browse files Browse the repository at this point in the history
The v0.31.1 release of markdownlint was created in Feb 2022. This
updates our mdlint container to use this latest version.

Signed-off-by: Sean McGinnis <[email protected]>
  • Loading branch information
stmcginnis committed Mar 24, 2022
1 parent abb5638 commit 6b9cff2
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 @@ -199,7 +199,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 6b9cff2

Please sign in to comment.