Skip to content

Commit e76ba8e

Browse files
committed
markdown linting added
Signed-off-by: Kairvee Vaswani <[email protected]>
1 parent f246109 commit e76ba8e

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,9 @@ jobs:
3030
fetch-depth: 1
3131
- name: Build
3232
run: make
33+
- name: Run markdownlint with auto-fix
34+
uses: DavidAnson/markdownlint-cli2-action@v19
35+
with:
36+
fix: true # Enabled to improve reported errors
37+
globs: '**/*.md'
38+
config: '.markdownlint.json'

.markdownlint.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"MD013": false,
3+
"MD033": false
4+
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ as non-DHCP static addresses.
402402

403403
- Create `/etc/bootptab` like this. Make sure not to drop the "%%" header.
404404

405-
```
405+
```bash
406406
# bootptab
407407
%%
408408
# hostname hwtype hwaddr ipaddr bootfile
@@ -411,7 +411,7 @@ tmp-vm01 1 de:ad:be:ef:00:01 192.168.105.100
411411

412412
- Reload the DHCP daemon.
413413

414-
```
414+
```bash
415415
sudo /bin/launchctl kickstart -kp system/com.apple.bootpd
416416
```
417417

test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test/perf.sh create -c 3 2>perf.log
3232
Run all tests with shared and bridged modes, vz and qemu vm type,
3333
using 1, 2, and 3 vms:
3434

35-
```
35+
```bash
3636
for v in vz qemu; do
3737
for c in $(seq 3); do
3838
test/perf.sh run -c $c -v $v 2>>perf.log

0 commit comments

Comments
 (0)