-
Notifications
You must be signed in to change notification settings - Fork 67
Labels
good first issueGood for newcomersGood for newcomers
Description
Attempting to create a commit like feat(foo.bar): something currently makes conventional-pre-commit fail, raising an error as such:
[Bad commit message] >> feat(foo.bar): something
Your commit message does not follow Conventional Commits formatting
https://www.conventionalcommits.org/
Conventional Commit messages follow a pattern like:
type(scope): subject
extended body
Please correct the following errors:
- Expected value for delim but found none.
- Expected value for subject but found none.
- Expected value for body but found none.
Run:
git commit --edit --file=.git/COMMIT_EDITMSG
to edit the commit message and retry the commit.
IMHO, the https://www.conventionalcommits.org/en/v1.0.0/ doesn't state that dots must not be used inside the scope. To me, this feels like a bug in conventional-pre-commit 🤔
thekaveman
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers