compilerla / conventional-pre-commit

A pre-commit hook that checks commit messages for Conventional Commits formatting
Apache License 2.0
348 stars 59 forks source link

feat: allow underscore in scopes #22

Closed bi0ha2ard closed 2 years ago

bi0ha2ard commented 2 years ago

We have a lot of sub-packages with underscores in their names in our repos. The current regex forbids

feat(some_package): added some feature

as the commit message.

I just added _ to the allowed characters in the scope regex to allow it.