ccnnde/commitlint-config-git-commit-emoji Star11 Code Issues Pull requests Shareable commitlint config for the VS Code extension git-commit-plugin with emoji enabled gitemojiangularcommitcommitlintcommitlint-config UpdatedDec 12, 2021 JavaScript
我这里在项目根目录下创建了新的配置文件commitlint.config.cjs module.exports={extends:['@commitlint/config-conventional']}; 这里面我写的很简单,意思其实我这里定义的Commit Message就是继承了@commitlint/config-conventional 规则集,这个规则集定义了Git 提交信息定义一致性格式,使得提交信息更易于理解和自动化处理。
git config --global user.name userName git config --global user.email userEmail HuLa / commitlint.config.cjs commitlint.config.cjs4.26 KB 一键复制编辑原始数据按行查看历史 Dawn提交于11个月前.fix(rust):修复mac系统背景玻璃拟态导致的问题 (#IA5AO8) ...
name: "revert: ⏪️ Reverts a previous commit", emoji: "⏪️" }, { value: "wip", name: "wip: 🕔 work in process", emoji: "🕔" }, { value: "workflow", name: "workflow: 📋 workflow improvements", emoji: "📋" ...
// confirmCommit: "是否提交或修改commit ?"}, types: [ { value: "feat", name: "feat: 🚀 A new feature", emoji: "🚀" }, { value: "fix", name: "fix: 🧩 A bug fix", emoji: "🧩" }, { value: "docs", ...
如果你的小伙伴没有通过commitizen生成提交信息,而是使用了git commit命令,这个时候就需要强制检查提交信息是否符合规范。 接下来将使用+commitlint和husky来进行检查,执行下面的命令 # 安装 commitlint cli 以及 conventional插件npm install --save-dev @commitlint/config-conventional @commitlint/cli# 安装 Huskynpm inst...
git config --global user.name userName git config --global user.email userEmail vue3-element-admin / commitlint.config.cjs commitlint.config.cjs4.02 KB 一键复制编辑原始数据按行查看历史 Ray.Hao提交于2年前.chore:修改提交信息的emoji 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647...
confirmCommit:"是否提交或修改commit ?", }, // prettier-ignore types:[ {value:"feat",name:"特性: ✨ 新增功能",emoji:":sparkles:"}, {value:"fix",name:"修复: 🐛 修复缺陷",emoji:":bug:"}, {value:"docs",name:"文档: 📝 文档变更",emoji:":memo:"}, ...
lint-staged 是一个在 git add 到暂存区的文件运行 linters (ESLint/Prettier/StyleLint) 的工具,避免在 git commit 提交时在整个项目执行。 官方网站:https://github.com/okonet/lint-staged Lint-staged 安装 npm install -D lint-staged 1 Lint-staged 配置 ...
conventional-changelog-lint-config-atom conventional-changelog-lint-config-canonical ⚠️ If you want to publish your own shareable config then make sure it has a name aligning with the patterncommitlint-config-emoji-logorcommitlint-config-your-config-name— then in extend all you have to write...