Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
tools: enable Markdown linter's usage information#30216
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
DerekNonGeneric commented Nov 2, 2019 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
DerekNonGeneric commented Nov 8, 2019
addaleax commented Nov 30, 2019
Maybe @Trott ? |
Trott commented Dec 6, 2019
Sorry, just seeing this now. I've been less-than-perfect about tracking my GitHub notifications lately. |
Trott commented Dec 6, 2019
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 |
DerekNonGeneric commented Dec 6, 2019 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@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). |
DerekNonGeneric commented Dec 7, 2019
@Trott, I had to change something to trigger a new build (description capitalization). It should be good to go now! |
Uh oh!
There was an error while loading. Please reload this page.
Trott commented Dec 7, 2019
When I run pull in these changes and then run |
Trott commented Dec 7, 2019
Oh, wait, it does that on master too so that's not an indication of a problem, necessarily. |
Trott commented Dec 7, 2019
@RichardLitt Is the unified-args stuff in your wheelhouse by any chance? If so, a review would be great. @nodejs/linting |
nodejs-github-bot commented Dec 7, 2019
DerekNonGeneric commented Dec 7, 2019 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
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 |
RichardLitt commented Dec 9, 2019
I wouldn't have the technical knowledge to help with this, but I think that @wooorm might. I'll ping him. |
wooorm left a comment
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-clisource 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
Uh oh!
There was an error while loading. Please reload this page.
DerekNonGeneric commented Dec 10, 2019
@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. |
wooorm left a comment
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
DerekNonGeneric commented Dec 12, 2019
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. 🙂 |
wooorm left a comment
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 😊
DerekNonGeneric commented Dec 12, 2019
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 commented Dec 12, 2019
DerekNonGeneric commented Dec 12, 2019 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@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. |
richardlau commented Dec 13, 2019
To match what is run on Travis CI, core-validate-commit should be run with |
nodejs-github-bot commented Dec 14, 2019
nodejs-github-bot commented Dec 15, 2019
Trott commented Dec 15, 2019
Landed in 80fb153 |
Prior to this commit, running `node tools/lint-md --help` and `node tools/lint-md --version` resulted in an error. * Use `unified-args` to start processor * Use `unified-args`'s error handler Fixes: #30156 PR-URL: #30216 Reviewed-By: Rich Trott <[email protected]>
Prior to this commit, running `node tools/lint-md --help` and `node tools/lint-md --version` resulted in an error. * Use `unified-args` to start processor * Use `unified-args`'s error handler Fixes: #30156 PR-URL: #30216 Reviewed-By: Rich Trott <[email protected]>
Prior to this commit, running `node tools/lint-md --help` and `node tools/lint-md --version` resulted in an error. * Use `unified-args` to start processor * Use `unified-args`'s error handler Fixes: #30156 PR-URL: #30216 Reviewed-By: Rich Trott <[email protected]>
Prior to this commit, running `node tools/lint-md --help` and `node tools/lint-md --version` resulted in an error. * Use `unified-args` to start processor * Use `unified-args`'s error handler Fixes: #30156 PR-URL: #30216 Reviewed-By: Rich Trott <[email protected]>
Prior to this commit, running
node tools/lint-md --helpandnode tools/lint-md --versionresulted in an input error.unified-argsto start processorunified-args's error handlerFixes: #30156
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes