Skip to content

Commit 3c2ac10

Browse files
FIX Don't lint node_modules directory (#18)
1 parent 02c4a9c commit 3c2ac10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/doclint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ if [[ $WITH_MD == 1 ]]; then
166166
cp "${DOCS_LINT_DIR}/.markdownlint-cli2.mjs" .markdownlint-cli2.mjs
167167
cp "${DOCS_LINT_DIR}/.markdownlint.yml" .markdownlint.yml
168168
echo "linting markdown in docs"
169-
yarn markdownlint-cli2 "${DOCS_DIR}**/*.md" $FLAGS
169+
yarn markdownlint-cli2 "${DOCS_DIR}**/*.md" "!**/node_modules/**" $FLAGS
170170
if [[ $? != 0 ]]; then
171171
EXIT_CODE=1
172172
fi

0 commit comments

Comments
 (0)