#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

#
# This hook is triggered first before even getting commit message.
#

# pnpm lint:fix
pnpm format:staged

# Reference : https://docs.onruntime.com/contributing/commits
bash $(dirname -- "$0")/scripts/validate-branch-name.sh
