Roo-Code/.husky/pre-commit
Chris Estreich 008c548c07
Monorepo + (disabled) agent authentication mechanism (#106)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-19 12:19:50 -07:00

9 lines
186 B
Text
Executable file

branch="$(git rev-parse --abbrev-ref HEAD)"
if [ "$branch" = "main" ]; then
echo "You can't push directly to main - please check out a branch."
exit 1
fi
npx lint-staged
pnpm lint