commitizen / commitizen/cz-cli

precommit's ignored when using git cz

Open
#567 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17.5k
Forks
566
Avg merge
8h 16m
Merged PRs (30d)
1

Description

As far as I can see all precommits are ignored when using cz.
I have setup using husky and using lint-staged.

If you run `git commit` you will see the hooks run, but if you run `git cz` it will only run the `lint-staged` once you have finished with the promoter.

I have setup a repo which reproduced the error:
https://github.com/hutber/cztest

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.