commitizen icon indicating copy to clipboard operation
commitizen copied to clipboard

pre-commit hook does not check/support custom types (defined in `config.commitizen.types`)

Open stavros-mobal opened this issue 3 years ago • 1 comments

Description

As there is the possibility to override types in config.commitizen.types, the pre-commit hook should take these into account as well.

Steps to reproduce

  1. Add custom types in config.commitizen.types
  2. Write & commit a commit message with the aforementioned custom types

Current behavior

pre-commit hook should exit with Passed

Desired behavior

pre-commit hook exits with Failed

stavros-mobal avatar Feb 02 '22 12:02 stavros-mobal

Hi @stavros-mobal , I'm a bit confused. We do not have module config.commitizen.types. Could you please clarify a bit more?

Lee-W avatar Aug 21 '22 15:08 Lee-W