Update PULL_REQUEST_TEMPLATE.md

This commit is contained in:
neverland 2019-09-06 11:28:34 +08:00 committed by GitHub
parent 80fa30932f
commit b5b7ad7482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,20 @@
### Before submitting a pull request, please make sure the following is done: ### Before submitting a pull request, please make sure the following is done:
1. Fork [the repository](https://github.com/youzan/vant) and create your branch from `dev`. 1. Read the [contributing guide](https://github.com/youzan/vant/blob/dev/.github/CONTRIBUTING.md).
2. Follow the [contributing guide](https://github.com/youzan/vant/blob/dev/.github/CONTRIBUTING.md) to setup your develop environment.
2. If you've added code that should be tested, add tests. 2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation. 3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes (`npm test`). 4. Ensure the test suite passes (`npm test`).
#### Title Format #### Title Format
[type] ComponentNamecontent type(ComponentName?)commit message
Example Example
- docs: fix typo in quickstart
- build: optimize build speed
- fix(Button): incorrect style - fix(Button): incorrect style
- feat(Button): incorrect style - feat(Button): add color prop
- docs(Button): fix typo
Allowed Types: Allowed Types: