Skip to content

tools: fix markdown linting - #39832

Closed
Trott wants to merge 4 commits into
nodejs:masterfrom
Trott:lint-preset-update
Closed

tools: fix markdown linting#39832
Trott wants to merge 4 commits into
nodejs:masterfrom
Trott:lint-preset-update

Conversation

@Trott

Copy link
Copy Markdown
Member

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.

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.
@TrottTrott added the fast-track PRs that do not need to wait for 48 hours to land. label Aug 21, 2021
@Trott

Copy link
Copy Markdown
MemberAuthor

@nodejs/linting

@nodejs-github-botnodejs-github-bot added the tools Issues and PRs related to the tools directory. label Aug 21, 2021
@github-actions

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @Trott. Please 👍 to approve.

@targos

targos commented Aug 21, 2021

Copy link
Copy Markdown
Member

Error: Cannot find module 'node:process'

require('node:...') isn't supported yet in v14.x (should be there in the next minor release)

Comment threadtools/node-lint-md-cli-rollup/rollup.config.js Outdated
@aduh95

Copy link
Copy Markdown
Contributor

Error: Cannot find module 'node:process'

require('node:...') isn't supported yet in v14.x (should be there in the next minor release)

I suppose we need to either make Rollup output ESM (lint-md.mjs), or make the lint-md and lint-md GHA jobs run on v16.x.

@Trott

Copy link
Copy Markdown
MemberAuthor

Error: Cannot find module 'node:process'

require('node:...') isn't supported yet in v14.x (should be there in the next minor release)

I suppose we need to either make Rollup output ESM (lint-md.mjs), or make the lint-md and lint-md GHA jobs run on v16.x.

I made it ESM. PTAL

@Trott

Copy link
Copy Markdown
MemberAuthor

(By the way, my reason for the fast-track request is that right now, the linter isn't doing anything, so errors may be landing in doc changes. Right now, there are no lint errors. I'd like to get this landed ASAP to minimize the possibility of errors appearing between now and when this lands.)

@targostargos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tools/lint-md.js is referenced in:

  • .eslintignore
  • vcbuild.bat

@Trott

Copy link
Copy Markdown
MemberAuthor

tools/lint-md.js is referenced in:

  • .eslintignore
  • vcbuild.bat

Whoops, forgot to grep.

OK, fixed.

@TrottTrott added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 21, 2021
@github-actionsgithub-actionsBot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 21, 2021
@github-actions

Copy link
Copy Markdown
Contributor
Commit Queue failed
- Loading data for nodejs/node/pull/39832
✔ Done loading data for nodejs/node/pull/39832
----------------------------------- PR info ------------------------------------
Title tools: fix markdown linting (#39832)
Author Rich Trott (@Trott)
Branch Trott:lint-preset-update -> nodejs:master
Labels tools, fast-track
Commits 4
- tools: fix markdown linting
- fixup! tools: fix markdown linting
- fixup! fixup! tools: fix markdown linting
- fixup! fixup! fixup! tools: fix markdown linting
Committers 1
- Rich Trott PR-URL: https://github.com/nodejs/node/pull/39832
Reviewed-By: Daijiro Wachi Reviewed-By: Michaël Zasso Reviewed-By: Antoine du Hamel ------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/39832
Reviewed-By: Daijiro Wachi Reviewed-By: Michaël Zasso Reviewed-By: Antoine du Hamel --------------------------------------------------------------------------------
ℹ This PR was created on Sat, 21 Aug 2021 14:13:10 GMT
✔ Approvals: 3
✔ - Daijiro Wachi (@watilde): https://github.com/nodejs/node/pull/39832#pullrequestreview-735498792
✔ - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/39832#pullrequestreview-735505690
✔ - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/39832#pullrequestreview-735505770
ℹ This PR is being fast-tracked
✔ Last GitHub Actions successful
✖ No Jenkins CI runs detected
--------------------------------------------------------------------------------
✔ Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/1154347243

@github-actionsgithub-actionsBot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Aug 21, 2021
@richardlaurichardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 21, 2021
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 21, 2021
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@TrottTrott added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Aug 22, 2021
@github-actionsgithub-actionsBot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 22, 2021
@github-actions

Copy link
Copy Markdown
Contributor

Landed in 1deafcd...1110947

nodejs-github-bot pushed a commit that referenced this pull request Aug 22, 2021
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>
targos pushed a commit that referenced this pull request Aug 22, 2021
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>
@targostargos mentioned this pull request Aug 25, 2021
targos pushed a commit that referenced this pull request Sep 4, 2021
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>
@targostargos mentioned this pull request Sep 4, 2021
@Trott
Trott deleted the lint-preset-update branch September 25, 2022 17:10
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-trackPRs that do not need to wait for 48 hours to land.toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@Trott@targos@aduh95@nodejs-github-bot@watilde@richardlau