From 1c20a32ab4c6bdd5a2320a7ae5fde8a94492807b Mon Sep 17 00:00:00 2001 From: Andrew Rynhard Date: Wed, 6 May 2020 15:40:07 +0000 Subject: [PATCH] chore: pin markdown linting libraries A new version of markdownlint-cli was released that breaks the lint-markdown target. This pins all the libraries we use for linting markdown files to specific versions that are known to work. Signed-off-by: Andrew Rynhard --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42acea26e..cb28a35c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -495,9 +495,9 @@ RUN prototool lint --protoc-bin-path=/toolchain/bin/protoc --protoc-wkt-path=/to # The markdownlint target performs linting on Markdown files. FROM node:8.16.1-alpine AS lint-markdown -RUN npm i -g markdownlint-cli -RUN npm i -g textlint -RUN npm i -g textlint-rule-one-sentence-per-line +RUN npm i -g markdownlint-cli@0.22.0 +RUN npm i -g textlint@11.6.3 +RUN npm i -g textlint-rule-one-sentence-per-line@1.0.2 WORKDIR /src COPY .markdownlint.json . COPY . .