Skip to content

Commit 98346de

Browse files
Trotttargos
authored andcommitted
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: #21361 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 4566eba commit 98346de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ lint-md-build: tools/remark-cli/node_modules \
10441044
.PHONY: lint-md
10451045
ifneq ("","$(wildcard tools/remark-cli/node_modules/)")
10461046

1047-
LINT_MD_DOC_FILES = $(shell ls doc/**/*.md)
1047+
LINT_MD_DOC_FILES = $(shell ls doc/*.md doc/**/*.md)
10481048
run-lint-doc-md = tools/remark-cli/cli.js -q -f $(LINT_MD_DOC_FILES)
10491049
# Lint all changed markdown files under doc/
10501050
tools/.docmdlintstamp: $(LINT_MD_DOC_FILES)

0 commit comments

Comments
 (0)