Skip to content

Commit

Permalink
ci: setup custom Markdown lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien Gatellier committed Aug 9, 2023
1 parent 6d5e0b4 commit 32fe8c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ jobs:

- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v11
with:
config: .markdownlint.yaml
10 changes: 10 additions & 0 deletions .mardownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Default state for all rules
default: true
# Line length
MD013:
code_blocks: false
# Inline HTML
MD033:
allowed_elements: ["img", "p"]
# First line in a file should be a top-level heading
MD041: false

0 comments on commit 32fe8c2

Please sign in to comment.