Skip to content

Commit 130d5ad

Browse files
Merge pull request #479 from github/markdownlint
lint markdown files
2 parents 04f5cd7 + b494ffd commit 130d5ad

File tree

6 files changed

+153
-93
lines changed

6 files changed

+153
-93
lines changed

.github/lint/markdown.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"default": true,
3+
"line_length": false,
4+
"ol-prefix": false,
5+
"no-trailing-punctuation": false,
6+
"no-inline-html": false
7+
}

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6+
markdown:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@master
10+
- uses: avto-dev/markdown-lint@v1
11+
with:
12+
config: '.github/lint/markdown.json'
13+
args: '**/*.md'
614
lint:
715
runs-on: ubuntu-latest
816
steps:

0 commit comments

Comments
 (0)