git-commit-plugin icon indicating copy to clipboard operation
git-commit-plugin copied to clipboard

🌈 is not in the correct gitmoji list

Open richenlin opened this issue 3 years ago • 3 comments

husky > commit-msg ⧗ input: 🌈 style: 格式 ✖ 🌈 is not in the correct gitmoji list, please check the emoji code on https://gitmoji.dev/. [start-with-gitmoji]

在 gitmoji 里面 style 的emoji 为 💄

项目配置使用 husky 配合 commitlint-config-gitmoji ,.commitlintrc.js规则:

module.exports = { extends: ["gitmoji"], };

richenlin avatar Feb 16 '22 02:02 richenlin

你可以自己配置emoji表情,通过 GitCommitPlugin.CustomCommitType

RedJue avatar Feb 16 '22 05:02 RedJue

嗯嗯,是可以自行配置,但是团队协作,每个人都要配置插件,是不是代价有点大

如果默认的配置能够遵循 gitmoji 标准就好了

richenlin avatar Feb 16 '22 06:02 richenlin

嗯嗯,是可以自行配置,但是团队协作,每个人都要配置插件,是不是代价有点大

如果默认的配置能够遵循 gitmoji 标准就好了

我看能不能把配置文件加上,默认读配置文件,这样就能版本控制了,方便团队管理

RedJue avatar Feb 16 '22 07:02 RedJue

我也有此问题

shanayyy avatar Sep 26 '22 09:09 shanayyy