Skip to content

Conversation

@JimMadge
Copy link
Member

@JimMadge JimMadge commented Jan 26, 2026

supersedes #972 and #984

Updates packages and fixes errors that came with a newer version of Markdown Lint CLI.

@JimMadge JimMadge requested a review from lwasser January 26, 2026 16:26
@netlify
Copy link

netlify bot commented Jan 26, 2026

Deploy Preview for all-contributors ready!

Name Link
🔨 Latest commit 99a6a1c
🔍 Latest deploy log https://app.netlify.com/projects/all-contributors/deploys/697906a8d4f22b00082391b4
😎 Deploy Preview https://deploy-preview-1006.staging.allcontributors.org
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

✨ LGTM other than the one note on README.md linting.

package.json Outdated
"lint": "markdownlint **/*.{md,mdx} --ignore node_modules",
"lint-fix": "markdownlint **/*.{md,mdx} --ignore node_modules --fix"
"lint": "markdownlint src/**/*.{md,mdx} --ignore node_modules",
"lint-fix": "markdownlint src/**/*.{md,mdx} --ignore node_modules --fix"

Choose a reason for hiding this comment

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

This now excludes the root README.md. Is that intentional?

If this was to avoid formatting MAINTAINERS.md, I'd suggest moving the --ignore to a .markdownlintignore.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea, that way we keep the ignores together and explicit.

I was thinking about excluding anything not in the docs from linting. But there isn't any harm in including other files in the repo that pass.

I've kept MAINTAINERS.md excluded. But we could take time to fix that too.

Copy link

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

🙌

@JimMadge JimMadge merged commit a15d476 into all-contributors:main Jan 27, 2026
7 checks passed
"lint": "markdownlint **/*.{md,mdx} --ignore node_modules",
"lint-fix": "markdownlint **/*.{md,mdx} --ignore node_modules --fix"
"lint": "markdownlint **/*.{md,mdx}",
"lint-fix": "markdownlint **/*.{md,mdx}"
Copy link
Member

Choose a reason for hiding this comment

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

ooh I know this was merge but @JimMadge does this need to have --fix to be different from the lint step and to actually apply the fixes? lint and lint-fix look the same .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants