chore: 添加 lint-staged

This commit is contained in:
ChenZhaoYu committed 2023-02-13 11:03:10 +08:00
1 parent f910b5f8a4
commit 11544ff24b
7 files changed
+1118 -3

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
pnpm exec commitlint --config .commitlintrc.json --edit "${1}"