Skip to content

Commit 5f69457

Browse files
authored
chore: Switch linter to rumdl (#36)
Signed-off-by: Steve Hipwell <[email protected]>
1 parent 68f44a7 commit 5f69457

File tree

5 files changed

+27
-21
lines changed

5 files changed

+27
-21
lines changed

.github/workflows/validate-site.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,20 @@ jobs:
2828
with:
2929
fetch-depth: 0
3030

31-
- name: Run markdownlint check
32-
uses: DavidAnson/markdownlint-cli2-action@992badcdf24e3b8eb7e87ff9287fe931bcb00c6e # v20.0.0
31+
- name: Install rumdl
32+
uses: action-stars/install-tool-from-github-release@1fa61c3bea52eca3bcdb1f5c961a3b113fe7fa54 # v0.2.6
3333
with:
34-
config: .markdownlint.yaml
35-
globs: "**/*.md"
34+
github_token: ${{ github.token }}
35+
owner: rvben
36+
repository: rumdl
37+
filename_format: "{name}-v{version}-{arch}-{os}.{ext}"
38+
arch_amd64: x86_64-unknown
39+
os_linux: linux-gnu
40+
check_command: rumdl --version
41+
version: latest
42+
43+
- name: Lint
44+
run: rumdl check --output-format github .
3645

3746
- name: Setup Pages
3847
id: pages

.markdownlint.yaml

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

.rumdl.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[global]
2+
disable = ["MD028", "MD013"]
3+
4+
[MD024]
5+
siblings-only = true
6+
7+
[MD033]
8+
allowed-elements = ["a", "br", "details", "i", "p", "summary", "sub", "sup"]
9+

content/pages/about.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: About
33
---
44

5-
65
I'm Steve; I'm a bit of a technology nerd primarily focusing on Kubernetes, platforms and the adjacent technologies; but I have a broad range of interests and I often find myself nerd-sniped by something new and interesting on [Hacker News](https://news.ycombinator.com/) or [Lobsters](https://lobste.rs/).
76

87
I have worked in the technology industry since 2005 and I like to think that I'm a comb shaped engineer; I have a broad range of experience and knowledge but I also have a few areas where I have deep expertise. I regularly contribute to multiple diverse OSS projects, I maintain a number of personal OSS projects on GitHub, and I have a couple of GitHub orgs where I'm attempting to build a community ([Action Stars](https://github.com/action-stars) & [Terr4m](https://github.com/terr4m)).

justfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ set windows-shell := ["pwsh", "-NoLogo", "-Command"]
33
default:
44
just --list
55

6-
markdownlint:
7-
npm exec markdownlint-cli2 --yes -- --fix "**/*.{md,markdown}"
6+
fmt:
7+
rumdl fmt --fix .
8+
9+
lint:
10+
rumdl check .
811

912
build:
1013
hugo build --gc --minify --environment production

0 commit comments

Comments
 (0)