From 98346de08c20b7a664167d771d79cf124989f1e7 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 15 Jun 2018 15:56:53 -0700 Subject: [PATCH] tools: lint doc/*.md files Makefile tasks only lint doc/**/*.md files but omit files that match doc/*.md. This change adds these previously-omitted files to the list of files to be linted. PR-URL: https://github.com/nodejs/node/pull/21361 Reviewed-By: Richard Lau Reviewed-By: Refael Ackermann Reviewed-By: Jon Moss Reviewed-By: Vse Mozhet Byt Reviewed-By: Luigi Pinca --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8bfd4e674a452b..c2edfe59a4595a 100644 --- a/Makefile +++ b/Makefile @@ -1044,7 +1044,7 @@ lint-md-build: tools/remark-cli/node_modules \ .PHONY: lint-md ifneq ("","$(wildcard tools/remark-cli/node_modules/)") -LINT_MD_DOC_FILES = $(shell ls doc/**/*.md) +LINT_MD_DOC_FILES = $(shell ls doc/*.md doc/**/*.md) run-lint-doc-md = tools/remark-cli/cli.js -q -f $(LINT_MD_DOC_FILES) # Lint all changed markdown files under doc/ tools/.docmdlintstamp: $(LINT_MD_DOC_FILES)