Skip to content

Commit

Permalink
Merge pull request #174 from chrultrabook/markdownlint
Browse files Browse the repository at this point in the history
markdownlint workflow
  • Loading branch information
ninelore authored Jul 9, 2024
2 parents 40dfd09 + 98396bd commit d7277c8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/md.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Markdown lint
on:
pull_request:
branches: main
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'
fix: true
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 d7277c8

Please sign in to comment.