Hi, I have a lintrc file that includes 7 values for type-enum. When I write a commit that fails that check, the list of possible type-enums includes 3 values from the angular config: 'revert', 'style' and 'test'.
my lintrc rule looks like this:
"type-enum": [
2,
"always",
[
"Fix",
"New",
"Breaking",
"Docs",
"Build",
"Upgrade",
"Chore",
"Update"
]
],
and I'm using husky in my package.json with "commitmsg": "conventional-changelog-lint -e",
this is my terminal output when I fail that check:
type must be one of ["Fix", "New", "Breaking", "Docs", "Build", "Upgrade", "Chore", "Update", "revert", "style", "test"] [type-enum]
Thanks for making this library!
Thanks for reporting - I'll check on this over the next days!
Fixed by #30 and released:
โฏ npm show conventional-changelog-lint .version
1.1.9