aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-06-15 15:56:53 -0700
committerRich Trott <rtrott@gmail.com>2018-06-16 07:54:34 -0700
commitff00a765dc6d78fb42139cc52b906ddd5fbb7d7f (patch)
tree689a8ae3c34216207d28dc28e2befa3c0feafe60 /Makefile
parentdabcd4799de19a8af0fd2ac341619d4d869a972c (diff)
downloadandroid-node-v8-ff00a765dc6d78fb42139cc52b906ddd5fbb7d7f.tar.gz
android-node-v8-ff00a765dc6d78fb42139cc52b906ddd5fbb7d7f.tar.bz2
android-node-v8-ff00a765dc6d78fb42139cc52b906ddd5fbb7d7f.zip
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 <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8bfd4e674a..c2edfe59a4 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)