Skip to content

Commit 7fecfcb

Browse files
authored
Add md030 rule to only allow 1 space after list markers (#37990)
1 parent ba92a85 commit 7fecfcb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/content-linter/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ We are using the [markdownlint](https://github.com/DavidAnson/markdownlint) fram
1818
| [MD023](https://github.com/DavidAnson/markdownlint/blob/main/doc/md023.md) | Headings must start at the beginning of the line. | error |
1919
| [MD024](https://github.com/DavidAnson/markdownlint/blob/main/doc/md024.md) | Disallow headings with the same content. | error |
2020
| [MD027](https://github.com/DavidAnson/markdownlint/blob/main/doc/md027.md) | Catches multiple spaces after blockquote symbol. | warning |
21+
| [MD030](https://github.com/DavidAnson/markdownlint/blob/main/doc/md030.md) | Only allow one space after list markers. | error |
2122
| [MD011](https://github.com/DavidAnson/markdownlint/blob/main/doc/md011.md) | Make sure that link syntax is not reversed. | error |
2223
| [MD111](./linting-rules/image-alt-text-length.js) | Images alternate text should be between 40-150 characters. | warning |
2324
| [MD112](./linting-rules/image-alt-text-end-punctuation.js) | Images alternate text should end with a punctuation. | error |

src/content-linter/scripts/markdownlint.js

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ async function main() {
3939
MD023: true,
4040
MD024: true,
4141
MD027: true,
42+
MD030: true,
4243
MD111: true,
4344
MD112: true,
4445
MD113: true,

0 commit comments

Comments
 (0)