Skip to content

Commit

Permalink
FIX Don't lint node_modules directory (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Dec 16, 2024
1 parent 02c4a9c commit 3c2ac10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/doclint
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ if [[ $WITH_MD == 1 ]]; then
cp "${DOCS_LINT_DIR}/.markdownlint-cli2.mjs" .markdownlint-cli2.mjs
cp "${DOCS_LINT_DIR}/.markdownlint.yml" .markdownlint.yml
echo "linting markdown in docs"
yarn markdownlint-cli2 "${DOCS_DIR}**/*.md" $FLAGS
yarn markdownlint-cli2 "${DOCS_DIR}**/*.md" "!**/node_modules/**" $FLAGS
if [[ $? != 0 ]]; then
EXIT_CODE=1
fi
Expand Down

0 comments on commit 3c2ac10

Please sign in to comment.