GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: don't re-add removed markdownlint comments to generated lists by JoshuaKGoldberg · Pull Request #541 · all-contributors/cli

Conversation

@JoshuaKGoldberg

@JoshuaKGoldberg JoshuaKGoldberg commented Sep 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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 to false to explicitly remove, true to explicitly add, or leave undefined to 👇
  • (infer from existing): true if there was no content or the existing content has the markdownlint-disable comment, false if the existing content doesn't have the comment

Checklist:

  • Documentation N/A
  • Tests
  • Ready to be merged
  • Added myself to contributors table

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@JoshuaKGoldberg @claude
fix: don't re-add removed markdownlint comments to generated lists
b7e1ec1
Fixes all-contributors#540.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@matbrgz

This comment was marked as spam.

Sign in to view
@JoshuaKGoldberg
JoshuaKGoldberg marked this pull request as ready for review September 28, 2026 11:32
@JoshuaKGoldberg JoshuaKGoldberg mentioned this pull request Sep 28, 2026
feat(generate): support markdownlint opt-out and preservation in contributors list #553
Closed
2 tasks done
@matbrgz

This comment was marked as spam.

Sign in to view
JimMadge
JimMadge reviewed Sep 30, 2026
View reviewed changes

@JimMadge JimMadge left a comment

Copy link
Copy Markdown
Member

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.

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/generate/index.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

@JoshuaKGoldberg
JoshuaKGoldberg force-pushed the markdownlint-preserve-removal branch from 8060b8f to b7e1ec1 Compare October 2, 2026 02:39
JoshuaKGoldberg and others added 2 commits October 1, 2026 22:40
@JoshuaKGoldberg @JimMadge
Update src/generate/index.js
5980445
Co-authored-by: Jim Madge <[email protected]>
@JoshuaKGoldberg
Use prettier as a sentinel again
12e722c
@JoshuaKGoldberg
JoshuaKGoldberg requested a review from JimMadge October 2, 2026 02:47
JimMadge
JimMadge approved these changes Oct 6, 2026
View reviewed changes
@JimMadge
JimMadge merged commit d3c1239 into all-contributors:main Oct 14, 2026
6 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@lwasser lwasser mentioned this pull request Oct 14, 2026
chore(main): release 6.27.0 #483
Closed
@JoshuaKGoldberg

JoshuaKGoldberg commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

🙌 yay, thanks @JimMadge!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JoshuaKGoldberg
JoshuaKGoldberg deleted the markdownlint-preserve-removal branch October 14, 2026 11:53
This was referenced Oct 23, 2026
chore(main): release 6.27.0 #581
Closed
chore(release): release 7.0.0 #583
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@JimMadge JimMadge JimMadge approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Generated contributors list always adds markdownlint-disable/restore comments, with no opt-out

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@JoshuaKGoldberg @matbrgz @JimMadge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.