docs: update contributing guidelines
This commit is contained in:
parent
da05d395fb
commit
b58cab1c07
1 changed files with 16 additions and 0 deletions
16
.github/CONTRIBUTING.md
vendored
16
.github/CONTRIBUTING.md
vendored
|
@ -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/`.
|
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:
|
:tada: Your volunteering will make the open-source world more beautiful, thanks again! :tada:
|
||||||
|
|
Loading…
Reference in a new issue