#!/usr/bin/env sh
echo "HUSKY PRE-COMMIT RUNNING"

echo "Step 1/2: lint-staged (eslint fix, prettier)"
npx lint-staged || exit 1

echo "Step 2/2: typecheck"
npm run typecheck || exit 1

echo "All pre-commit checks passed"
