Skip to content

Commit 50389fe

Browse files
committed
ci: add markdownlint
1 parent dae67d4 commit 50389fe

3 files changed

Lines changed: 49 additions & 0 deletions

File tree

.github/workflows/markdownlint.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
# Managed by modulesync - DO NOT EDIT
3+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
4+
5+
name: Markdown Lint
6+
7+
on:
8+
pull_request:
9+
branches:
10+
- main
11+
workflow_dispatch:
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
markdown-lint:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v6
21+
- uses: DavidAnson/markdownlint-cli2-action@v22
22+
with:
23+
globs: '**/*.md'

.markdownlint-cli2.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
# Managed by modulesync - DO NOT EDIT
3+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
4+
5+
ignores:
6+
- .github/**
7+
- .idea/**
8+
- .vendor/**
9+
- .vscode/**
10+
- CHANGELOG.md
11+
- test/**
12+
- vendor/**

.markdownlint.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
# Managed by modulesync - DO NOT EDIT
3+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
4+
5+
default: true
6+
7+
line-length:
8+
line_length: 210
9+
10+
no-inline-html:
11+
allowed_elements:
12+
- br
13+
14+
descriptive-link-text: false

0 commit comments

Comments
 (0)