#!/bin/bash # format.sh - Format both backend and frontend code set -e echo "🔧 Formatting backend with ruff..." ruff format . echo "✨ Formatting frontend with prettier..." cd frontend npx prettier --write "src/**/*.{js,ts,svelte,html,css,json}" --config .prettierrc cd .. echo "✅ All formatting complete!"