Skip to content

Commit

Permalink
Add Markdownlint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ninelore committed Jun 23, 2024
1 parent d3c8f28 commit c4e571b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/md.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Markdown lint
on: [pull_request]
jobs:
markdownlint:
name: markdownlint-cli
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v16
id: linter
with:
globs: 'src/**/*.md'
config: '.markdownlint.jsonc'
8 changes: 8 additions & 0 deletions .markdownlint.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"MD004": {
"style": "consistent"
},
"MD034": false,
"MD033": false,
"MD013": false
}

0 comments on commit c4e571b

Please sign in to comment.