layui/.husky/commit-msg
2022-04-24 00:41:50 +08:00

5 lines
96 B
Bash

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm run lint:prettier
npx --no -- commitlint --edit $1