From b5b7ad74824eab12bfbd9ad1d7440f77e9866d8d Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 6 Sep 2019 11:28:34 +0800 Subject: [PATCH] Update PULL_REQUEST_TEMPLATE.md --- .github/PULL_REQUEST_TEMPLATE.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index e038a1830..ed18aa4df 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,20 +1,20 @@ ### 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`. -2. Follow the [contributing guide](https://github.com/youzan/vant/blob/dev/.github/CONTRIBUTING.md) to setup your develop environment. +1. Read the [contributing guide](https://github.com/youzan/vant/blob/dev/.github/CONTRIBUTING.md). 2. If you've added code that should be tested, add tests. 3. If you've changed APIs, update the documentation. 4. Ensure the test suite passes (`npm test`). #### Title Format -[type] ComponentName:content +type(ComponentName?):commit message Example: +- docs: fix typo in quickstart +- build: optimize build speed - fix(Button): incorrect style -- feat(Button): incorrect style -- docs(Button): fix typo +- feat(Button): add color prop Allowed Types: