lefthook.yml
Rama master · réplica de lectura del repositorio original.
pre-commit:
parallel: true
commands:
format:
run: pnpm exec prettier --cache --ignore-path ./config/.prettierignore --write "{staged_files}" && git add "{staged_files}"
test:
glob: '*.{ts,svelte}'
run: pnpm exec vitest --run --silent
commit-msg:
commands:
commitlint:
run: pnpm exec commitlint --edit