chore(ask): configure pnpm and commit hooks
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
pre-commit:
|
||||
jobs:
|
||||
- run: npx ultracite fix
|
||||
stage_fixed: true
|
||||
|
||||
prepare-commit-msg:
|
||||
commands:
|
||||
commitzen:
|
||||
interactive: true
|
||||
run: pnpm exec cz --hook
|
||||
env:
|
||||
LEFTHOOK: "0"
|
||||
|
||||
commit-msg:
|
||||
commands:
|
||||
lint-commit-message:
|
||||
run: pnpm exec commitlint --edit {1}
|
||||
Reference in New Issue
Block a user