Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: enable commitlint for project commits VUE-757 #3394

Merged
merged 1 commit into from
Nov 5, 2021
Merged

Conversation

emuvente
Copy link
Collaborator

@emuvente emuvente commented Nov 4, 2021

Enforces conventional commit messages for those with husky hooks installed (run npx husky install in the ui repo to do that if you haven't already). If the commit message does not follow the conventional commits format, the commit will not happen and an error like this will be displayed:

> git ci -m 'not a valid commit message'
⧗   input: not a valid commit message
✖   subject may not be empty [subject-empty]
✖   type may not be empty [type-empty]

✖   found 2 problems, 0 warnings
ⓘ   Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint

husky - commit-msg hook exited with code 1 (error)

@emuvente emuvente merged commit 02b1509 into master Nov 5, 2021
@emuvente emuvente deleted the VUE-757 branch November 5, 2021 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants