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
|
||||
|
||||
@@ -12,7 +12,6 @@ View your app in AI Studio: https://ai.studio/apps/ef577c64-7776-42d3-bb38-3f0a6
|
||||
|
||||
**Prerequisites:** Node.js
|
||||
|
||||
|
||||
1. Install dependencies:
|
||||
`npm install`
|
||||
2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key
|
||||
|
||||
Reference in New Issue
Block a user