Skip to content

Commit

Permalink
tools: fix markdown linting
Browse files Browse the repository at this point in the history
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 <daijiro.wachi@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
Trott authored and nodejs-github-bot committed Aug 22, 2021
1 parent 1deafcd commit 1110947
Show file tree
Hide file tree
Showing 7 changed files with 48,584 additions and 55,933 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Expand Up @@ -4,7 +4,7 @@ test/addons/??_*
test/fixtures
test/message/esm_display_syntax_error.mjs
tools/icu
tools/lint-md.js
tools/lint-md.mjs
tools/node-lint-md-cli-rollup/dist
benchmark/tmp
doc/**/*.js
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -1235,7 +1235,7 @@ LINT_MD_TARGETS = doc src lib benchmark test tools/doc tools/icu $(wildcard *.md
LINT_MD_FILES = $(shell $(FIND) $(LINT_MD_TARGETS) -type f \
! -path '*node_modules*' ! -path 'test/fixtures/*' -name '*.md' \
$(LINT_MD_NEWER))
run-lint-md = tools/lint-md.js -q -f --no-stdout $(LINT_MD_FILES)
run-lint-md = tools/lint-md.mjs -q -f --no-stdout $(LINT_MD_FILES)
# Lint all changed markdown files maintained by us
tools/.mdlintstamp: $(LINT_MD_FILES)
$(info Running Markdown linter...)
Expand Down

0 comments on commit 1110947

Please sign in to comment.