diff options
author | Rich Trott <rtrott@gmail.com> | 2018-06-15 15:56:53 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-06-16 07:54:34 -0700 |
commit | ff00a765dc6d78fb42139cc52b906ddd5fbb7d7f (patch) | |
tree | 689a8ae3c34216207d28dc28e2befa3c0feafe60 /Makefile | |
parent | dabcd4799de19a8af0fd2ac341619d4d869a972c (diff) | |
download | node-new-ff00a765dc6d78fb42139cc52b906ddd5fbb7d7f.tar.gz |
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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |