Skip to content

Commit 608c7ea

Browse files
author
Ran Isenberg
committed
a
1 parent c0065a9 commit 608c7ea

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

{{cookiecutter.repo_name}}/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ docs:
7070
uv run mkdocs serve
7171

7272
lint-docs:
73-
docker run -v ${PWD}:/markdown 06kellyjac/markdownlint-cli --fix "docs"
73+
npx markdownlint-cli2 "docs/**/*.md" --fix
7474

7575
watch:
7676
npx cdk watch

{{cookiecutter.repo_name}}/Makefile_windows

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ docs:
7575
uv run mkdocs serve
7676

7777
lint-docs:
78-
@echo "Linting documentation with Docker. Make sure Docker is running."
79-
docker run -v "%cd%:/markdown" 06kellyjac/markdownlint-cli --fix "docs"
78+
npx markdownlint-cli2 "docs/**/*.md" --fix
8079

8180
watch:
8281
npx cdk watch

0 commit comments

Comments
 (0)