docs: update contributing guidelines

This commit is contained in:
Cotes Chung 2022-03-13 16:50:12 +08:00
parent da05d395fb
commit b58cab1c07
No known key found for this signature in database
GPG key ID: 0D9E54843167A808

View file

@ -45,6 +45,22 @@ $ npx gulp dev
After debugging, run the command `npx gulp` (without any argument) will automatically output the compressed files to the directory `assets/js/dist/`.
## Verify the commit messages
If you want to make sure your commits pass the CI check, you can refer to the following steps.
Install `commitlint` & `husky`:
```console
$ npm i -g @commitlint/{cli,config-conventional} husky
```
And then enable `husky`:
```console
$ husky install
```
---
:tada: Your volunteering will make the open-source world more beautiful, thanks again! :tada: