Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: fix markdown linting #39832

Closed
wants to merge 4 commits into from
Closed

Conversation

Trott
Copy link
Member

@Trott Trott commented Aug 21, 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.

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

Trott commented Aug 21, 2021

@nodejs/linting

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

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

@targos
Copy link
Member

targos commented Aug 21, 2021

Error: Cannot find module 'node:process'

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

@aduh95
Copy link
Contributor

aduh95 commented Aug 21, 2021

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
Member Author

Trott commented Aug 21, 2021

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
Member Author

Trott commented Aug 21, 2021

(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.)

Copy link
Member

@targos targos left a comment

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
Member Author

Trott commented Aug 21, 2021

tools/lint-md.js is referenced in:

  • .eslintignore
  • vcbuild.bat

Whoops, forgot to grep.

OK, fixed.

@Trott Trott added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 21, 2021
@github-actions github-actions bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 21, 2021
@github-actions
Copy link
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-actions github-actions bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Aug 21, 2021
@richardlau richardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 21, 2021
@github-actions github-actions bot 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
Collaborator

@Trott Trott 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-actions github-actions bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 22, 2021
@github-actions
Copy link
Contributor

Landed in 1deafcd...1110947

@github-actions github-actions bot closed this Aug 22, 2021
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>
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>
@Trott Trott deleted the lint-preset-update branch September 25, 2022 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fast-track PRs that do not need to wait for 48 hours to land. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants