# Skip lint-staged during merges — staged files include the entire merge diff,
# not just your changes, making it slow and pointless.
[ -f "$(git rev-parse --git-path MERGE_HEAD 2>/dev/null)" ] && exit 0

npx --no-install lint-staged
