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-co
具体的规范配置可以查看:https://github.com/conventional-changelog/commitlint 我这里在项目根目录下创建了新的配置文件commitlint.config.cjs module.exports={extends:['@commitlint/config-conventional']}; 这里面我写的很简单,意思其实我这里定义的Commit Message就是继承了@commitlint/config-conventional 规则集,这个...
根目录创建commitlint.config.cjs配置文件,示例配置:@commitlint/config-conventional module.exports={// 继承的规则extends:["@commitlint/config-conventional"],// @see: https://commitlint.js.org/#/reference-rulesrules:{"subject-case":[0],// subject大小写不做校验// 类型枚举,git提交type必须是以下类型...
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 ...
extends: ["@commitlint/config-conventional"], // 自定义规则 rules: { // @see https://commitlint.js.org/#/reference-rules // 提交类型枚举,git提交type必须是以下类型 "type-enum": [ 2, "always", [ "feat", // 新增功能 "fix", // 修复缺陷 "docs", // 文档变更 "...
@commitlint/config-patternplate conventional-changelog-lint-config-atom conventional-changelog-lint-config-canonical commitlint-config-jira⚠️ If you want to publish your own shareable config then make sure it has a name aligning with the pattern commitlint-config-emoji-log or commitlint-config-your...
2.增加 commitlint.config.ts 配置文件 import { UserConfig, RuleConfigCondition, RuleConfigSeverity, } from "@commitlint/types"; const Configuration: UserConfig = { extends: ["@commitlint/config-conventional"], parserPreset: { parserOpts: { headerPattern: /^(\p{Emoji_Presentation} \w+)(?:\(...
conventional-changelog-lint-config-canonical ⚠️ If you want to publish your own shareable config then make sure it has a name aligning with the pattern commitlint-config-emoji-log or commitlint-config-your-config-name— then in extend all you have to write is emoji-log or your-config-na...
extends:["@commitlint/config-conventional"], // 自定义规则 rules:{ // @see https://commitlint.js.org/#/reference-rules // 提交类型枚举,git提交type必须是以下类型 "type-enum":[ 2, "always", [ "feat",// 新增功能 "fix",// 修复缺陷 ...
/** @type {import('cz-git').UserConfig} */ module.exports={ ignores:[commit=>commit.includes("init")], extends:["@commitlint/config-conventional"], rules:{ // @see: https://commitlint.js.org/#/reference-rules "body-leading-blank":[2,"always"], ...