Skip to content

Commit 54914b0

Browse files
graceparkrachmari
andauthored
Add md018 no space and md019 for multiples spaces after hash heading (#37917)
Co-authored-by: Rachael Sewell <rachmari@github.com>
1 parent 9b31f0a commit 54914b0

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ You set up {% data variables.product.prodname_dotcom %} to run {% data variables
5050

5151
If your workflow uses a `language` matrix, `autobuild` attempts to build each of the compiled languages listed in the matrix. Without a matrix `autobuild` attempts to build the supported compiled language that has the most source files in the repository. With the exception of Go, analysis of other compiled languages in your repository will fail unless you supply explicit build commands.
5252

53-
## About `autobuild` for {% data variables.product.prodname_codeql %}
53+
## About `autobuild` for {% data variables.product.prodname_codeql %}
5454

5555
{% data reusables.code-scanning.autobuild-compiled-languages %}
5656

src/content-linter/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ We are using the [markdownlint](https://github.com/DavidAnson/markdownlint) fram
1212
| [MD009](https://github.com/DavidAnson/markdownlint/blob/main/doc/md009.md) | No unnecessary whitespace from the end of the line. | warning |
1313
| [MD012](https://github.com/DavidAnson/markdownlint/blob/main/doc/md012.md) | No unnecessary blank lines. | warning |
1414
| [MD014](https://github.com/DavidAnson/markdownlint/blob/main/doc/md014.md) | Dollar signs should not be used before commands without showing output. | error |
15+
| [MD018](https://github.com/DavidAnson/markdownlint/blob/main/doc/md018.md) | Must have one space after a hash style heading. | error |
16+
| [MD019](https://github.com/DavidAnson/markdownlint/blob/main/doc/md019.md) | Must not have spaces after a hash style heading. | error |
1517
| [MD024](https://github.com/DavidAnson/markdownlint/blob/main/doc/md024.md) | Disallow headings with the same content. | error |
1618
| [MD011](https://github.com/DavidAnson/markdownlint/blob/main/doc/md011.md) | Make sure that link syntax is not reversed. | error |
1719
| [MD111](./linting-rules/image-alt-text-length.js) | Images alternate text should be between 40-150 characters. | warning |

src/content-linter/scripts/markdownlint.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ async function main() {
3232
MD009: true,
3333
MD011: true,
3434
MD012: true,
35+
MD018: true,
36+
MD019: true,
3537
MD014: true,
3638
MD024: true,
3739
MD111: true,

0 commit comments

Comments
 (0)