Skip to content

Commit

Permalink
Add Markdown linter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Jul 2, 2024
1 parent 968d515 commit 3b86d07
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ jobs:
- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v16
with:
config: ".markdownlint.jsonc"
globs: "docs/**/*.md"
8 changes: 8 additions & 0 deletions .markdownlint.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.jsonc
{
"MD013": {
"line_length": 120,
"heading_line_length": 120,
"code_block_line_length": 120
}
}

0 comments on commit 3b86d07

Please sign in to comment.