Skip to content

doc: format markdown files in test directory - #40290

Merged
Trott merged 1 commit into
nodejs:masterfrom
Trott:test-format
Oct 5, 2021
Merged

doc: format markdown files in test directory#40290
Trott merged 1 commit into
nodejs:masterfrom
Trott:test-format

Conversation

@Trott

@TrottTrott commented Oct 3, 2021

Copy link
Copy Markdown
Member

Use make format-md to format markdown files in test directory.

@nodejs-github-botnodejs-github-bot added async_hooks Issues and PRs related to the async hooks subsystem. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Oct 3, 2021
@TrottTrott removed the needs-ci PRs that need a full CI run. label Oct 3, 2021
@tniessen

Copy link
Copy Markdown
Member

@Trott could this potentially be covered by linters so that we don't need to manually format it every once in a while?

@tniessentniessen 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.

LGTM either way

@Trott

Trott commented Oct 3, 2021

Copy link
Copy Markdown
MemberAuthor

@Trott could this potentially be covered by linters so that we don't need to manually format it every once in a while?

Possibly. Right now, we can't autoformat because it would break the README.md format depended on by node-core-utils and possibly other things. (I had tried to get ahead of that but got too far ahead of it....) And there are a lot of these kinds of fixes in doc. But once those are done, we could possibly change the lint step to format first. The main problem would be when it introduces a line-too-long problem due to formatting, similar to the way that can happen with JS linting.

@TrottTrott added the fast-track PRs that do not need to wait for 48 hours to land. label Oct 3, 2021
@github-actions

Copy link
Copy Markdown
Contributor

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

@jasnelljasnell added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Oct 3, 2021
@TrottTrott added commit-queue Add this label to land a pull request using GitHub Actions. and removed fast-track PRs that do not need to wait for 48 hours to land. labels Oct 5, 2021
@github-actionsgithub-actionsBot added commit-queue-failed An error occurred while landing this pull request using GitHub Actions. and removed commit-queue Add this label to land a pull request using GitHub Actions. labels Oct 5, 2021
@github-actions

Copy link
Copy Markdown
Contributor
Commit Queue failed
- Loading data for nodejs/node/pull/40290
✔ Done loading data for nodejs/node/pull/40290
----------------------------------- PR info ------------------------------------
Title doc: format markdown files in test directory (#40290)
Author Rich Trott (@Trott)
Branch Trott:test-format -> nodejs:master
Labels test, async_hooks, author ready
Commits 1
- doc: format markdown files in test directory
Committers 1
- Rich Trott PR-URL: https://github.com/nodejs/node/pull/40290
Reviewed-By: Michaël Zasso Reviewed-By: Zijian Liu Reviewed-By: Daijiro Wachi Reviewed-By: Tobias Nießen Reviewed-By: James M Snell ------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/40290
Reviewed-By: Michaël Zasso Reviewed-By: Zijian Liu Reviewed-By: Daijiro Wachi Reviewed-By: Tobias Nießen Reviewed-By: James M Snell --------------------------------------------------------------------------------
ℹ This PR was created on Sun, 03 Oct 2021 01:48:26 GMT
✔ Approvals: 5
✔ - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/40290#pullrequestreview-769557341
✔ - Zijian Liu (@Lxxyx): https://github.com/nodejs/node/pull/40290#pullrequestreview-769561820
✔ - Daijiro Wachi (@watilde): https://github.com/nodejs/node/pull/40290#pullrequestreview-769564399
✔ - Tobias Nießen (@tniessen) (TSC): https://github.com/nodejs/node/pull/40290#pullrequestreview-769580958
✔ - James M Snell (@jasnell) (TSC): https://github.com/nodejs/node/pull/40290#pullrequestreview-769596533
✔ 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/1306219419

Use `make format-md` to format markdown files in `test` directory.
PR-URL: nodejs#40290
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott

Trott commented Oct 5, 2021

Copy link
Copy Markdown
MemberAuthor

Landed in cbd61c9

@Trott
Trott merged commit cbd61c9 into nodejs:masterOct 5, 2021
@Trott
Trott deleted the test-format branch October 5, 2021 03:19
danielleadams pushed a commit that referenced this pull request Oct 5, 2021
Use `make format-md` to format markdown files in `test` directory.
PR-URL: #40290
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

async_hooksIssues and PRs related to the async hooks subsystem.author readyPRs that have at least one approval, no pending requests for changes, and a CI started.commit-queue-failedAn error occurred while landing this pull request using GitHub Actions.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@Trott@tniessen@jasnell@watilde@targos@Lxxyx@nodejs-github-bot