mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
ci(lint): add markdown lint to pre-push hook (#1166)
Add `npm run lint:md` to `.husky/pre-push` so markdown lint errors are caught locally before push. Fix existing violation in pro-test/README.md (MD012: multiple consecutive blank lines).
This commit is contained in:
@@ -22,5 +22,8 @@ done
|
||||
echo "Running edge function tests..."
|
||||
node --test tests/edge-functions.test.mjs || exit 1
|
||||
|
||||
echo "Running markdown lint..."
|
||||
npm run lint:md || exit 1
|
||||
|
||||
echo "Running version sync check..."
|
||||
npm run version:check || exit 1
|
||||
|
||||
Reference in New Issue
Block a user