npm install --save-dev @commitlint/config-conventional @commitlint/cliecho"export default {extends: ['@commitlint/config-conventional']};">commitlint.config.js Rules Problems The following rules are considered problems for@commitlint/config-conventionaland will yield a non-zero exit code when not met...
config-conventional}# For Windows:npm install --save-dev @commitlint/config-conventional @commitlint/cli# Configure commitlint to use conventional config# 这里windows下有坑,最好直接创建commitlint.config.js然后复制进去 | 当然也可以创建后再调整编码和换行符# 使用echo创建的时候默认是UTF-16LE,具体请看上...
commitlint configuration extending @commitlint/config-conventional. Latest version: 7.0.10, last published: 12 days ago. Start using @vidavidorra/commitlint-config in your project by running `npm i @vidavidorra/commitlint-config`. There are no other proj
config-conventional}#For Windows:npm install --save-dev @commitlint/config-conventional @commitlint/cli#Configure commitlint to use conventional config#这里windows下有坑,最好直接创建commitlint.config.js然后复制进去 | 当然也可以创建后再调整编码和换行符#使用echo创建的时候默认是UTF-16LE,具体请看上面的Win...
npm install--save-dev @commitlint/{cli,config-conventional}# For Windows:npm install--save-dev @commitlint/config-conventional @commitlint/cli # Configure commitlint to use conventional config # 这里windows下有坑,最好直接创建commitlint.config.js然后复制进去|当然也可以创建后再调整编码和换行符 ...
npm install --save-dev @commitlint/cli @commitlint/config-conventional 在你的 Lerna 项目的根目录下创建一个名为.commitlintrc.js的文件,并将以下内容添加到文件中: module.exports= {extends: ['@commitlint/config-conventional'], }; 这里使用了@commitlint/config-conventional,它是一个常用的规范配置,但你...
npm install --save-dev @commitlint/config-conventional @commitlint/cli echo "export default {extends: ['@commitlint/config-conventional']};" > commitlint.config.jsRulesProblemsThe following rules are considered problems for @commitlint/config-conventional and will yield a non-zero exit code when ...
npm install --save-dev @commitlint/config-conventional @commitlint/cli echo "export default {extends: ['@commitlint/config-conventional']};" > commitlint.config.jsRulesProblemsThe following rules are considered problems for @commitlint/config-conventional and will yield a non-zero exit code when ...
默认读取根目录下commitlint.config.js 配置文件 指定配置文件 commitlint --config <file path> 配置项 extends 继承外部配置文件或npm配置包 {extends:[// 使用本地共享配置文件'./commitlint.local.js',// 使用第三方npm包'@commitlint/config-conventional',// 以 `<scope>/commitlint-config` 格式的第三方包...
npm install commitizen cz-customizable @commitlint/cli @commitlint/config-conventional -D 版本号如下: {"@commitlint/cli":"^17.5.0","@commitlint/config-conventional":"^17.4.4","commitizen":"^4.3.0","cz-conventional-changelog":"^3.3.0","cz-customizable":"^7.0.0",} ...