Skip to content

Commit d15201d

Browse files
committed
Run Markdownlint in CI instead of having its code in the repository
1 parent 273653a commit d15201d

27 files changed

+20
-16152
lines changed

.github/workflows/markdownlint.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Lint Markdown
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: DavidAnson/markdownlint-cli2-action@v19
17+
with:
18+
config: .markdownlint.json
19+
globs: '**/*.md'

.markdownlint.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"extends": "markdownlint-rules-grav-pages/rules/frontmatter.schema.json",
32
"default": true,
43
"code-block-style": {
54
"style": "fenced"
@@ -61,4 +60,4 @@
6160
"line-length": false,
6261
"no-reversed-links": false,
6362
"no-missing-space-atx": false
64-
}
63+
}

markdownlint-rules-grav-pages/.eslintrc

Lines changed: 0 additions & 10 deletions
This file was deleted.

markdownlint-rules-grav-pages/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

markdownlint-rules-grav-pages/.travis.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

markdownlint-rules-grav-pages/CHANGELOG.md

Lines changed: 0 additions & 79 deletions
This file was deleted.

markdownlint-rules-grav-pages/LICENSE

Lines changed: 0 additions & 24 deletions
This file was deleted.

markdownlint-rules-grav-pages/README.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

markdownlint-rules-grav-pages/lib/flat.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)