Permalink
Browse files

tools,build: apply markdown linting to test dir

Enable markdown linting of the test directory. This change is applied
only to Makefile and not vcbuild.bat because we do not currently lint
anything outside of the doc directory using vcbuild.bat. In the
Makefile, the other targets are called "misc" but that feature does not
currently exist in vcbuild.bat. Adding it would be good, but outside the
scope of this change.

PR-URL: #22221
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: George Adams <george.adams@uk.ibm.com>
  • Loading branch information...
Trott committed Aug 9, 2018
1 parent a4eb7b0 commit 7cec27c7998868b4ae0b7aef926aa75f866ed458
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -1092,7 +1092,7 @@ else
@echo "Skipping Markdown linter on docs (no crypto)"
endif
LINT_MD_TARGETS = src lib benchmark tools/doc tools/icu
LINT_MD_TARGETS = src lib benchmark test tools/doc tools/icu
LINT_MD_ROOT_DOCS := $(wildcard *.md)
LINT_MD_MISC_FILES := $(shell find $(LINT_MD_TARGETS) -type f \
-not -path '*node_modules*' -name '*.md') $(LINT_MD_ROOT_DOCS)

0 comments on commit 7cec27c

Please sign in to comment.