Skip to content

Commit d770769

Browse files
committed
Add GitHub Action for Markdown linting.
1 parent 5422e9b commit d770769

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/linting.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ jobs:
2020
- uses: actions/checkout@v2
2121
- uses: pipeline-components/php-linter@master
2222

23+
lint-markdown:
24+
runs-on: ubuntu-20.04
25+
steps:
26+
- uses: actions/checkout@v2
27+
- uses: pipeline-components/remark-lint@master
28+
with:
29+
args: remark --rc-path=build/.remarkrc --ignore-pattern='*/vendor/*' .
30+
2331
lint-yaml:
2432
runs-on: ubuntu-20.04
2533
steps:

build/.remarkrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"plugins": [
3+
"remark-preset-lint-recommended",
4+
["remark-lint-list-item-indent", "space"]
5+
]
6+
}

0 commit comments

Comments
 (0)