-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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: enable Markdown linter's usage information #30216
tools: enable Markdown linter's usage information #30216
Conversation
Maybe @Trott ? |
Sorry, just seeing this now. I've been less-than-perfect about tracking my GitHub notifications lately. |
This looks good to me, but when I apply the changes in this PR and then do this: ( cd tools/node-lint-md-cli-rollup && npm ci && npm run build-node ) ...I end up with a different |
@Trott, I believe the intended way of building this is with It seems like the dependencies were updated, which caused the lockfile to change as well. I will update the PR tomorrow (a bit late in the East Coast). |
@Trott, I had to change something to trigger a new build (description capitalization). It should be good to go now! |
When I run pull in these changes and then run |
Oh, wait, it does that on master too so that's not an indication of a problem, necessarily. |
@RichardLitt Is the unified-args stuff in your wheelhouse by any chance? If so, a review would be great. @nodejs/linting |
Something that may be causing these build products to differ is that I tried building it on Windows 10 (as something different), which resulted in an error. Apparently the |
I wouldn't have the technical knowledge to help with this, but I think that @wooorm might. I'll ping him. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven’t tested this, but as the author and maintainer of unified-args, this looks good to go! I don’t see any problems.
- Regarding my personal style, I have one inline comment
- I would personally (I’m not a Node maintainer) suggest sticking as close as possible to the
remark-cli
source code, because it makes picking up changes in future versions easier. Because the ordering is different and names are different, it’s a bit of a hassle
So, personal nits/ideas/opinions only, looks good to me
@woorm, thanks for taking a look at this! Regarding your suggested nit of sticking as close as possible to the
Adding a comment to explain the layout would probably help. Maybe something like the following.
I'll probably do that while addressing the inline comment you made above. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Yeah, a comment would be useful for the future I think!
3. No guarantee, but remark-cli/cli.js
hasn’t changed much in the last four years
Alrighty @wooorm, it should be all set now. It would mean a lot if you could give this your stamp of approval after a final pass. It should be a breeze now that the sources closely match. 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it looks wonderful 😊
Sweet, I signed the commit and added the remaining in-org reviewer (@refack) to the commit message. Hoping to see this make it in before 2020. 🙏 |
@richardlau, I think we anticipate revision, no? I was under the impression that updating this commit message by someone else in the future (post-approval) would invalidate the signature. To be honest, I'm not sure how these things are handled in this repo and I could probably use some clarification. I drew the conclusion that it was acceptable to add anticipated reviewers to commit messages because it is a requirement that is checked by core-validate-commit and not having this results in failure. I'm glad this was brought up and I hope someone can dispel my doubts. |
To match what is run on Travis CI, core-validate-commit should be run with |
Landed in 80fb153 |
Prior to this commit, running
node tools/lint-md --help
andnode tools/lint-md --version
resulted in an input error.unified-args
to start processorunified-args
's error handlerFixes: #30156
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes