git clone git@github.com:conventional-changelog/commitlint.git cd commitlint yarn yarn run build # run build tasks yarn start # run tests, again on change yarn run commitlint # run CLIFor more information on how to contribute please take a look at our contribution guide....
git clone git@github.com:conventional-changelog/commitlint.git cd commitlint yarn yarn run build # run build tasks yarn start # run tests, again on change yarn run commitlint # run CLIFor more information on how to contribute please take a look at our contribution guide....
不出意外的话,将会报如下错误,并且提交中断 > husky-vue3-template@0.0.0 format G:\wokespace\github\husky-vue3-template > eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore .../packages/pnpm/store/v3/tmp/dlx-4288 | Progress: resolved 1, ...
项目地址:https://github.com/wikipine/nuxt3-ant-design 原理 基于Git的项目,在提交前进行语法格式校验的,检查commit msg格式的,都是基于 Git 的 Hooks来实现。这边用到的是commit-msg。用插件的目的是不用自己维护脚本,增加扩展性。 依赖安装 pnpm install -D husky @commitlint/cli @commitlint/config-conventi...
'https://github.com/conventional-changelog/commitlint/#what-is-commitlint', prompt 自定义提示信息 {prompt:{messages:{},questions:{type:{description:'please input type:',},},},} 自定义校验规则 规则格式 [规则名称]:[level, applicable, value] ...
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint husky - commit-msg hook exited with code1(error) 下面是一个提交message符合规范的例子, 自从v8.0.0版本以后,如果提交message没有问题,commitlint将不会输出任何内容。 (您可以使用--verbose标志来获得详细输出) ...
在github中,新建一个名为changelog的仓库,并且添加远程端地址。 PS: 你可以在你的git仓库中创建一个 将本地的内容先push到远程端,由于生成项目时,可能会有文件默认生成,因此加上-f参数,强推一下master到远程端 git push --set-upstream origin master -f ...
Please refer to the Security Policy on GitHub for the security policy. License This project is licensed under the GPLv3 license. Copyright © 2020-2024 Jeroen de Bruijn License details. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Gener...
npm icd-commitlint-config Repository github.com/chendie-dev/cd-spec Homepage github.com/chendie-dev/cd-spec#readme Weekly Downloads 0 Version 1.0.0 License ISC Unpacked Size 2.14 kB Total Files 3 Collaborators Tryon RunKit Reportmalware
参考husky 的README:GitHub husky 小白如果看着有疑问可以跟着我的步骤来: 1、项目内安装 AI检测代码解析 npm i lint-staged husky -save-dev 复制代码 1. 2. 2、创建.husky/目录并指定该目录为git hooks所在的目录 在package.json中添加prepare脚本