Skip to content

Commit 910fe11

Browse files
committed
docs: 约定式提交
1 parent 6810163 commit 910fe11

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ npm run docs:preview #预览线上环境
7676

7777
## Commit Message 规范
7878

79+
::: tip 🐒
80+
本项目没有强制使用 [commitlint](https://github.com/conventional-changelog/commitlint) ,但是建议遵循以下规范。
81+
> commitlint : 一个提交检查插件 ,可以在提交前检查 commit message 是否符合规范。
82+
83+
本项目选用的规范为 [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional)(基于 [Angular](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines) 约定)
84+
:::
85+
7986
本项目遵循以下 commit message 规范:
8087

8188
```bash

0 commit comments

Comments
 (0)