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:
Elie Habib
2026-03-07 09:45:09 +04:00
committed by GitHub
parent 8d83aa02eb
commit ef4920a058
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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