From 60eb57dfcd86615f58f2db50e843e9760614760d Mon Sep 17 00:00:00 2001
From: Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Date: Thu, 14 May 2026 23:17:00 +0000
Subject: [PATCH] ci(fix): lint only staged markdown files
---
package.json | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
index 1c753c5..4211e27 100644
--- a/package.json
+++ b/package.json
@@ -53,8 +53,8 @@
"hook:commit": "lint-staged --config .lintstagedrc.js",
"hook:push": "node scripts/test-hugo-quickstart.ts",
"lint:links": "lychee --config lychee.toml public",
- "lint:markdown": "markdownlint-cli2 **/*.{md,mdx}",
- "lint:markdown:fix": "markdownlint-cli2 --fix **/*.{md,mdx}",
+ "lint:markdown": "markdownlint-cli2",
+ "lint:markdown:fix": "markdownlint-cli2 --fix",
"prepare": "simple-git-hooks install",
"release": "release-it --config .release-it.ts",
"release:pre": "release-it --preRelease=prerelease --config .release-it.ts",
--
Gitblit v1.10.0