From 3fcd54fe46de809d015bfde2717a6b4e73f1b72e Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Mon, 27 Aug 2018 14:02:18 +0800 Subject: [PATCH] build: do not lint fixtures in make lint-md PR-URL: https://github.com/nodejs/node/pull/22549 Reviewed-By: Daniel Bevenius Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater Reviewed-By: Rich Trott Reviewed-By: Refael Ackermann --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5325abe40c0307..5fc2bb0c58f553 100644 --- a/Makefile +++ b/Makefile @@ -1087,7 +1087,8 @@ tools/.docmdlintstamp: $(LINT_MD_DOC_FILES) 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) + -not -path '*node_modules*' -not -path 'test/fixtures/*' -name '*.md') \ + $(LINT_MD_ROOT_DOCS) run-lint-misc-md = tools/lint-md.js -q -f $(LINT_MD_MISC_FILES) # Lint other changed markdown files maintained by us tools/.miscmdlintstamp: $(LINT_MD_MISC_FILES)