💛💛🧡🧡使用ESLint、 prettier 、commitlint 、husky搭建规范React TypeScript项目基础框架:https://www.cnblogs.com/Scooby/p/16156713.html
npm i -g commitizen@4.2.4
// or
yarn add commitizen@4.2.4 -g
npm i cz-customizable@6.3.0 --save-dev
// or
yarn add cz-customizable@6.3.0 -D
......
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
}
module.exports = {
// 可选类型
types: [
{ value: 'feat', name: '✨ feat: 一项新功能' },
{ value: &