Skip to content

Commit b58cab1

Browse files
committed
docs: update contributing guidelines
1 parent da05d39 commit b58cab1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/CONTRIBUTING.md

+16
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,22 @@ $ npx gulp dev
4545

4646
After debugging, run the command `npx gulp` (without any argument) will automatically output the compressed files to the directory `assets/js/dist/`.
4747

48+
## Verify the commit messages
49+
50+
If you want to make sure your commits pass the CI check, you can refer to the following steps.
51+
52+
Install `commitlint` & `husky`:
53+
54+
```console
55+
$ npm i -g @commitlint/{cli,config-conventional} husky
56+
```
57+
58+
And then enable `husky`:
59+
60+
```console
61+
$ husky install
62+
```
63+
4864
---
4965

5066
:tada: Your volunteering will make the open-source world more beautiful, thanks again! :tada:

0 commit comments

Comments
 (0)