gitmojicommitlintcommitlint-configsemantic-release-configcommitlintplugin UpdatedAug 23, 2024 TypeScript Rocketseat/commitlint-config Star98 Shareable commitlint config used by Rocketseat 🚀 lintgitcommitlintcommitlint-configrocketseat UpdatedFeb 18, 2021 ...
接下来将使用+commitlint和husky来进行检查,执行下面的命令 # 安装 commitlint cli 以及 conventional插件npm install --save-dev @commitlint/config-conventional @commitlint/cli# 安装 Huskynpm install husky --save-dev 配置commitlint 新建commitlint.config.js文件,并添加下面的内容: module.exports={extends:['@c...
Hey @ifblooms, there is already a package for gitmoji: https://github.com/arvinxx/commitlint-config-gitmoji. Now the type-enum for the emoji is a bit outdated compared to the official gitmoji repo, but you can use this as a blueprint and change it as you see fit. Collaborator escaped...
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然后复制进去|当然也可以创建后再调整编码和换行符 # 使用...
在有了Husky赋能之后,我们有能力在Git的钩子里做一些事情,首先不得不提的是代码的提交规范和规范的校验,优雅的提交,方便团队协作和快速定位问题。首推Commitlint,另外@加神 推荐了Gitmoji也是一个很有意思的工具。 安装 yarn add @commitlint/config-conventional @commitlint/cli --dev // 生成配置文件commitlint.con...
使用gitmoji的时候可能会遇到如下问题: 报错找不到gitmojis.json 两种解决方案: 在node_modules/commitlint-plugin-gitmoji/lib下添加gitmojis.json 在根目录下添加gitmojis.json并修改.cz-config.js process.env.GITMOJI_PATH = '.gitmoji.json' modules.exports={ ... } 1 2 3 4 偶遇校验不通过需要严格按照...
gitmoji commitlint commitlint-config semantic-release-config commitlintplugin Updated Aug 23, 2024 TypeScript vndevteam / nestjs-boilerplate Star 189 Code Issues Pull requests Discussions NestJS boilerplate with TypeORM, ExpressJS, Fastify, Jest, I18n & Vuepress docs docker typescript jest docker...