WhatsApp Wellbeing Coach
Conceptualized @ MachineTalents X UM Hackathon @ Google https://lu.ma/ibaiz50k?tk=T4VFxm
npm installcp .env.example .env.localnpm run devgit config core.hooksPath .git/hooks- Add the below to
.git/hooks/pre-commit
#!/bin/sh
echo "🔍 Running ESLint before commit..."
npm run lint
RESULT=$?
if [ $RESULT -ne 0 ]; then
echo "❌ ESLint failed. Commit aborted."
exit 1
fi
echo "✅ ESLint passed. Proceeding with commit."
exit 0