Skip to content

cant use commit with emoji #610

Closed
Closed
@xxholly32

Description

@xxholly32

Expected Behavior

it will commit when i use emoji (npx git-cz)

image

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)

  1. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions