@commitlint/cli 遵循 Conventional Commits 规范,可以自定义配置校验规则。它支持多种校验规则,例如校验提交信息的类型、描述和主体等,并可以在不同的提交阶段执行不同的校验规则。例如,在提交代码前只检查代码格式和 lint 检查,而在合并代码时进行更全面的提交信息校验。 @commitlint/cli 是一个基于 Node.js 的工具...
Lint your commit messages. Latest version: 19.8.0, last published: 17 days ago. Start using @commitlint/cli in your project by running `npm i @commitlint/cli`. There are 1174 other projects in the npm registry using @commitlint/cli.
@commitlint/cli用于commit message 的检查,并且能通过 npm 安装包的形式分享commit rules @commitlint/config-conventional 是通用的commit rules,你也可以在它的基础上自定义 rules // 项目的终端执行以下命令 npm i -D cz-git czg @commitlint/cli @commitlint/config-conventional 上面安装包完成后,在项目的根目录...
Package Sidebar Install npm i @zhuxian/commitlint-cli Weekly Downloads 8 Version 0.0.16 License MIT Unpacked Size 18.6 kB Total Files 15 Last publish 2 months ago Collaborators Try on RunKit Report malware Footer Support Help Advisories Status Contact npm Company About Blog Press Terms & Policies...
首先,通过 create-vue 快速搭建项目,并初始化一个 git 库。接着,引入 cz-git 和 @commitlint/cli,前者是强大的、轻量级、自定义性强的 commitizen 适配器,后者负责检查 commit message 的格式。为了遵循通用规则,使用 @commitlint/config-conventional 作为基础配置,并在根目录的 commitlint.config....
cli:print-config now can be configured to print a json in stdout (#3863) (6381a2d), closes#3819 18.4.4(2024-01-04) Bug Fixes @commitlint/load:Remove unused@types/nodedependency (#3801) (7b3f8b3) read:remove fs-extra usage and use fs/promises (#3803) (714be66) ...
cli: print-config now can be configured to print a json in stdout (#3863) (6381a2d), closes #381918.4.4 (2024-01-04)Bug Fixes@commitlint/load: Remove unused @types/node dependency (#3801) (7b3f8b3) read: remove fs-extra usage and use fs/promises (#3803) (714be66) subject-full...
Benefits of using commitlint Why Use Conventional Commits? “The perks of committing with conventions” (Talk slides) Getting started Local setup - Lint messages on commit with husky CI setup - Lint messages during CI builds CLI Primary way to interact with commitlint. ...
针对你遇到的错误 error @commitlint/cli@18.6.1: the engine "node" is incompatible with this module,这是因为当前安装的Node.js版本与@commitlint/cli@18.6.1模块所需的版本不兼容。以下是一些解决步骤和建议: 确认当前Node.js版本: 首先,需要查看当前系统上安装的Node.js版本。可以在命令行中运行以下命令来完...
Note:Version bump only for package@commitlint/cli Configuration 📅Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦Automerge: Disabled by config. Please merge this manually once you are satisfied. ...