Repository navigation
Conversation
Fixes all-contributors#540. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This comment was marked as spam.
This comment was marked as spam.
JoshuaKGoldberg
marked this pull request as ready for review
September 28, 2026 11:32
2 tasks done
This comment was marked as spam.
This comment was marked as spam.
JimMadge
reviewed
Sep 30, 2026
JimMadge
left a comment
Member
There was a problem hiding this comment.
Looks good. One question about the logic.
I would prefer to go with the configuration option you explained in #540. I think it is clearer and easier to document.
We could use what you have done here just changing withMarkdownLint to be taken from the config rather than calculated from the previous table.
JoshuaKGoldberg
force-pushed
the
markdownlint-preserve-removal
branch
from
October 2, 2026 02:39
8060b8f to
b7e1ec1
Compare
Co-authored-by: Jim Madge <jim+github@jmadge.com>
JimMadge
approved these changes
Oct 6, 2026
Contributor
Author
|
🙌 yay, thanks @JimMadge! |
This was referenced Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What: Fixes #540.
Why: Repos that removed the markdownlint comments from their contributors list get them re-added on every run.
How: When a previously generated list (one with
<!-- prettier-ignore-start -->) doesn't have<!-- markdownlint-disable -->, generation now leaves the markdownlint comments out; new and hand-written lists still get them.In other words, there are two ways to control this:
options.withMarkdownlint: set tofalseto explicitly remove,trueto explicitly add, or leave undefined to 👇trueif there was no content or the existing content has themarkdownlint-disablecomment,falseif the existing content doesn't have the commentChecklist: