Skip to content
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

enable markdownlint for mdx #6446

Merged
merged 2 commits into from
Oct 12, 2022

Conversation

chenxsan
Copy link
Member

So we can catch errors like #6441 (comment)

@vercel
Copy link

vercel bot commented Oct 11, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
webpack-js-org ✅ Ready (Inspect) Visit Preview Oct 11, 2022 at 0:57AM (UTC)

"MD026": false,
"MD029": { "style": "ordered" },
"MD033": false,
"MD034": false,
"MD036": false,
"MD041": false,
"MD053": false,
Copy link
Member Author

Choose a reason for hiding this comment

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

This one is disabled for temporary because of DavidAnson/markdownlint#571

snitin315
snitin315 previously approved these changes Oct 11, 2022
Comment on lines 1 to 2
.vale/**/*.md
.github/**/*.md
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
.vale/**/*.md
.github/**/*.md
.vale
.github

doesn't markdownlint lint only markdown files? we might not actually need *.md here? we can just add both directories alone?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, it's sort of superfluous. Actually I notice there's no .md files under .vale now, and we should apply rules to .github directory as well.

@chenxsan chenxsan merged commit 86a9696 into webpack:master Oct 12, 2022
@chenxsan chenxsan deleted the feature/enable-markdownlint-for-mdx branch October 12, 2022 00:44
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.

None yet

3 participants