commitlint-config-czmerges{types,scopes,scopeOverrides}(cz-customizable config) withrules.{type-enum,scope-enum}(commitlint config) andincludes some modules and APIfor config conversion. Supported Config commitlint-config-cz use only one config in the following order of precedence. ...
commitizen: 代码提交辅助工具 commitlint: 代码校验工具 husky: githook 插件 lint-staged: 前端文件过滤工具,只检测暂存区代码 cz-customizable: 自定义提交配置安装步骤1. 环境准备git 版本,笔者使用git for win 2.27.0相关钩子无发现问题,也建议>= 2.27.0版本,低版本会有githook 不兼容问题。
@commitlint/config-conventional release-it @release-it/conventional-changelog mr.mikey •1.1.4•7 months ago•0dependents•MITpublished version1.1.4,7 months ago0dependentslicensed under $MIT 86 cz-customizable-for-studio Commitizen customizable adapter following the conventional-changelog format....
// 根目录的 package.json"config": {"commitizen": {"path":"./node_modules/cz-customizable"},"cz-customizable": {"config":"./node_modules/@fe6/norm-git-cz-config/customizable.js"} } Git commit 验证 // 根目录的 commitlint.config.jsmodule.exports = {extends: ["@fe6/norm-git-cz-con...
配置文件问题,我需要额外增加 .cz-config.js 在我的项目中,如此一来我配合 commitlint 需要配置两个地方,这为什么不能联动配合获取。 支持的自定义配置还是太少,比如我想要 跳过选项 置于顶部,以配合团队 commit 整体习惯等,这些大大小小会很影响使用体验,并不能感觉到有真正的量身定做的感觉。 解决痛点以及心路历...
tsup.config.ts cz-git scripts .editorconfig .gitignore .npmrc CHANGELOG.md LICENSE README.md commitlint.config.mjs eslint.config.mjs netlify.toml package.json pnpm-lock.yaml pnpm-workspace.yaml tsconfig.json tsup.config.ts vitest.config.tsBreadcrumbs cz-git /packages /cli / package....
cz-customizable cz-commitlint commitlint vscode-commitizen cz-emoji cz-adapter-eslint commitiquette cz-format-extension cz-emoji-conventional cz-git cz-vinyl To create an adapter, just fork one of these great adapters and modify it to suit your needs. We pass you an instance ofInquirer.js, bu...
配置文件问题,我需要额外增加.cz-config.js在我的项目中,如此一来我配合commitlint需要配置两个地方,这为什么不能联动配合获取。 支持的自定义配置还是太少,比如我想要 跳过选项 置于顶部,以配合团队 commit 整体习惯等,这些大大小小会很影响使用体验。 解决痛点以及心路历程 ...
使用commitize+husky+commitlint制定git提交规范并自动修复代码格式 文章目录 一、使用git+commitize+cz-customizable制定提交规范 1.全局安装 Commitizen 2.安装并配置 cz-customizable 插件 3.项目根目录==创建 .cz-config.js== 自定义提示文件 4.使用 git cz 代替 git commit 二、使用husky+commitlint检查提交...
主要插件 commitizen: 代码提交辅助工具 commitlint: 代码校验工具 husky: githook 插件 lint-staged: 前端文件过滤工具,只检测暂存区代码 cz-customizable: 自定义提交配置 安装步骤 1. 环境准备 git 版本,笔者使用git for