From 7933310a4b6af7697db7a9fae7f11378d560c125 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 9 Aug 2018 15:19:40 -0700 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/22221 Reviewed-By: Richard Lau Reviewed-By: Jon Moss Reviewed-By: Vse Mozhet Byt Reviewed-By: Khaidi Chu Reviewed-By: Daniel Bevenius Reviewed-By: James M Snell Reviewed-By: George Adams --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e769a6e574d6fc..231948c15b95bd 100644 --- a/Makefile +++ b/Makefile @@ -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)