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

build: lint all docs under doc #28128

Closed
wants to merge 1 commit into from
Closed

Conversation

richardlau
Copy link
Member

@richardlau richardlau commented Jun 8, 2019

** expansion doesn't behave as expected and as a result files in
nested subdirectories under doc were not linted. Use find instead
to generate the list of files to lint.

Refs: #28127 (comment)

Blocked until #28127 lands as otherwise the
lint fails on the extra files that are now being picked up.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@richardlau richardlau added the blocked PRs that are blocked by other issues or PRs. label Jun 8, 2019
@nodejs-github-bot
Copy link
Collaborator

nodejs-github-bot commented Jun 8, 2019

Sadly, an error occurred when I tried to trigger a build. :(
CI: https://ci.nodejs.org/job/node-test-pull-request/23841/

@nodejs-github-bot nodejs-github-bot added the build Issues and PRs related to build files or the CI. label Jun 8, 2019
@nodejs-github-bot
Copy link
Collaborator

@richardlau
Copy link
Member Author

This picks up the file being fixed by #28127:
https://travis-ci.com/nodejs/node/jobs/206483880#L262-L266

Running Markdown linter on docs...
doc/guides/contributing/pull-requests.md
  87:1-88:19  warning  Use "GitHub" instead of "Github"  prohibited-strings  remark-lint
⚠ 1 warning

@Trott Trott added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed blocked PRs that are blocked by other issues or PRs. labels Jun 10, 2019
@nodejs-github-bot

This comment has been minimized.

`**` expansion doesn't behave as expected and as a result files in
nested subdirectories under `doc` were not linted. Use `find` instead
to generate the list of files to lint.
@richardlau

This comment has been minimized.

@richardlau

This comment has been minimized.

@Trott
Copy link
Member

Trott commented Jun 13, 2019

Copy link
Contributor

@refack refack left a comment

Choose a reason for hiding this comment

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

Why not use the built in wildcard as suggested in #28108?

@richardlau
Copy link
Member Author

Why not use the built in wildcard as suggested in #28108?

Because it doesn't pick up the missed file from #28127.

@Trott
Copy link
Member

Trott commented Jun 13, 2019

Landed in d74dc17

@Trott Trott closed this Jun 13, 2019
Trott pushed a commit to Trott/io.js that referenced this pull request Jun 13, 2019
`**` expansion doesn't behave as expected and as a result files in
nested subdirectories under `doc` were not linted. Use `find` instead
to generate the list of files to lint.

PR-URL: nodejs#28128
Refs: nodejs#28127
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
BridgeAR pushed a commit that referenced this pull request Jun 17, 2019
`**` expansion doesn't behave as expected and as a result files in
nested subdirectories under `doc` were not linted. Use `find` instead
to generate the list of files to lint.

PR-URL: #28128
Refs: #28127
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
@BridgeAR BridgeAR mentioned this pull request Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants