Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-09-20 21:54:58 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2021-09-25 06:51:52 +0300
commit8d83c470291d05f22010662380633bbddf0e7dcb (patch)
treeb7f88c7f1c056c1017838ce94de33a5fff310297 /.github
parent80065865be96b5e283e0bd9caccd96521839cd3d (diff)
tools: re-implement lint-md without unified-args
`unified-args` ignores settings in the preset, expecting them to be in remarkrc files or passed on the command line instead. Realizing that we always send the same configuration options via the command-line anyway, this removes `unified-args`. This means the preset settings are now respected and it removes nearly 30000 lines of code in the resulting rollup file. I wasn't sure I was going to want to keep rollup so I started re-implementing this without it, but ended up putting a minimal rollup back as it still saves about 90000 lines of code vs. checking in `node_modules`. PR-URL: https://github.com/nodejs/node/pull/40180 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linters.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml
index 04cecbbc516..2694e07ab3c 100644
--- a/.github/workflows/linters.yml
+++ b/.github/workflows/linters.yml
@@ -55,7 +55,7 @@ jobs:
- name: Get release version numbers
if: ${{ github.event.pull_request && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch }}
id: get-released-versions
- run: ./tools/node-lint-md-cli-rollup/src/list-released-versions-from-changelogs.mjs
+ run: ./tools/lint-md/list-released-versions-from-changelogs.mjs
- name: Lint docs
run: |
echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json"