0.0.1 • Published 2 years ago

@solar_fe/commitlint-config v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@solar_fe/commitlint-config

个人使用的 commitlint 配置

安装

npm install @solar_fe/commitlint-config @commitlint/cli --save-dev

使用

创建 commitlint.config.ts 并加入以下配置:

// commitlint.config.js
module.exports = {
  extends: ['@solar_fe/commitlint-config'],
};

Git Hooks

安装 husky:

npm install husky --save-dev

查看 husky 文档 以快速使用 Git Hooks。