Skip to content

Commit 66f983e

Browse files
committed
add the node version of markdownlint to the devcontainer
1 parent c4c0fbe commit 66f983e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.devcontainer/Dockerfile.dev

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ COPY ci /opt/ci
2020
RUN apt update && apt install -y wget \
2121
ninja-build \
2222
libcurl4-openssl-dev \
23-
markdownlint \
23+
nodejs \
24+
npm \
2425
shellcheck
2526

27+
RUN npm install -g markdownlint-cli
2628
RUN cd /opt/ci && bash setup_cmake.sh
2729
RUN cd /opt/ci && bash setup_ci_environment.sh
2830
RUN cd /opt && bash ci/setup_googletest.sh \

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ If you made changes to the Markdown documents (`*.md` files), install the latest
227227
[`markdownlint-cli`](https://github.com/igorshubovych/markdownlint-cli) and run:
228228

229229
```sh
230-
mdl <path to markdown file>.md
230+
markdownlint .
231231
```
232232

233233
If you modified shell scripts (`*.sh` files), install `shellcheck` and run:

0 commit comments

Comments
 (0)