feat: 添加husky + commitlint代码提交规范
Former-commit-id: 766fdd4bb607d559ce16bf1f18aae6ad3b6b37cb
This commit is contained in:
1 parent
d49b2f4cdc
commit
15022f51b9
3 files changed
+34
No files matched your search
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx --no-install commitlint --edit $1
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm run lint
|
||||
Reference in new issue
Block a user