Closed
Description
Expected Behavior
it will commit when i use emoji (npx git-cz
)
Current Behavior
⧗ input: chore: 🤖 commit test
✖ Please add rules to your commitlint.config.js
- Getting started guide: https://git.io/fhHij
- Example config: https://git.io/fhHip [empty-rules]
✖ found 1 problems, 0 warnings
(Need help? -> https://github.com/conventional-changelog/commitlint#what-is-commitlint )
Affected packages
- cli
- core
- prompt
- config-angular
Possible Solution
Steps to Reproduce (for bugs)
- package.json
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
2.npx git-cz
3.
4.
commitlint.config.js
```js ```Context
Your Environment
Executable | Version |
---|---|
commitlint --version |
7.2 |
git --version |
git version 2.7.1.windows.2 |
node --version |
10.5 |
Metadata
Metadata
Assignees
Labels
No labels