1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-18 20:21:45 +00:00

Add markdown linting support

This commit is contained in:
David Young
2021-10-20 15:25:05 +13:00
committed by GitHub
parent 938d4c7f3b
commit 64a76273c1
127 changed files with 655 additions and 1348 deletions

View File

@@ -0,0 +1,10 @@
docker run --rm \
-v "$(pwd):/data:rw" \
avtodev/markdown-lint:v1 \
--config /data/.markdownlint.yaml \
--ignore /data/_snippets \
--fix \
/data/**/*.md
# --rules /lint/rules/changelog.js \

9
scripts/local-markdownlint.sh Executable file
View File

@@ -0,0 +1,9 @@
docker run --rm \
-v "$(pwd):/data:ro" \
avtodev/markdown-lint:v1 \
--config /data/.markdownlint.yaml \
--ignore /data/_snippets \
/data/**/*.md
# --rules /lint/rules/changelog.js \

File diff suppressed because one or more lines are too long