Skip to content

Commit

Permalink
Show errors only in lint-markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenyu committed Oct 18, 2024
1 parent 07a4237 commit 1f6a7f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lint-markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ link_check_config=".github/workflows/markdownlint-config.json"

# Recursively find all markdown files (*.md) in the current directory, excluding node_modules and .venv subfolders.
# Pass them in as args to the lint command using the handy `xargs` command.
find . -name \*.md -not -path "*/node_modules/*" -not -path "*/.venv/*" -not -path "*/.terraform/*" -print0 | xargs -0 -n1 npx markdown-link-check --config "${link_check_config}"
find . -name \*.md -not -path "*/node_modules/*" -not -path "*/.venv/*" -not -path "*/.terraform/*" -print0 | xargs -0 -n1 npx markdown-link-check --quiet --config "${link_check_config}"

0 comments on commit 1f6a7f0

Please sign in to comment.