Skip to content

Commit 79079ea

Browse files
Trotttargos
authored andcommitted
tools: fix markdown linting
This updates remark-preset-lint-node to 3.0.1, which actually works unlike the 3.0.0 version we're using. (Sorry about 3.0.0 not actually linting!) It also updates rollup and the rollup config. So this uses the latest everything as of this writing. PR-URL: #39832 Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent d1900f4 commit 79079ea

File tree

7 files changed

+48584
-55933
lines changed

7 files changed

+48584
-55933
lines changed

.eslintignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test/addons/??_*
44
test/fixtures
55
test/message/esm_display_syntax_error.mjs
66
tools/icu
7-
tools/lint-md.js
7+
tools/lint-md.mjs
88
tools/node-lint-md-cli-rollup/dist
99
benchmark/tmp
1010
doc/**/*.js

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1235,7 +1235,7 @@ LINT_MD_TARGETS = doc src lib benchmark test tools/doc tools/icu $(wildcard *.md
12351235
LINT_MD_FILES = $(shell $(FIND) $(LINT_MD_TARGETS) -type f \
12361236
! -path '*node_modules*' ! -path 'test/fixtures/*' -name '*.md' \
12371237
$(LINT_MD_NEWER))
1238-
run-lint-md = tools/lint-md.js -q -f --no-stdout $(LINT_MD_FILES)
1238+
run-lint-md = tools/lint-md.mjs -q -f --no-stdout $(LINT_MD_FILES)
12391239
# Lint all changed markdown files maintained by us
12401240
tools/.mdlintstamp: $(LINT_MD_FILES)
12411241
$(info Running Markdown linter...)

0 commit comments

Comments
 (0)