-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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
Markdownlint: add custom rule to fix double spaces #20824
Conversation
Preview URLs (7 pages)
Flaws (1)Note! 6 documents with no flaws that don't need to be listed. 🎉 URL:
(this comment was updated 2022-10-10 03:21:09.101635) |
Prettier does this, so -0 on duplicating with a custom rule |
But Prettier is not going to get integrated soon. Not even in Q4. We can easily remove this after Prettier is automated. |
299a6ef
to
6163552
Compare
1d25a16
to
d0eeacc
Compare
These are the new occurrences of the typo committed after the PR was opened. |
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.
Checked the web extension change, looks good. Spot checked some others and they look good too
Improves #17988
Description
Markdownlint doesn't flag/fix double spaces in text content. So we can add the capability to it using a custom rule.
Motivation
Issues like this pile up over time and lead to many drive by typo fix PRs.
Adding this to our custom rules collection will solve it for good.
Additional details
Note: We are not fixing it in code blocks, only in markdown text content.
cc/ @teoli2003, @nschonni