docs: move PR title format to contribution guide (#12114)
* docs: move PR title format to contribution guide * docs: fix path * docs: fix path * docs: update type
This commit is contained in:
31
.github/PULL_REQUEST_TEMPLATE.md
vendored
31
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,30 +1,3 @@
|
||||
### Before submitting a pull request, please make sure the following is done:
|
||||
Before submitting a pull request, please read the [contributing guide](https://vant-contrib.gitee.io/vant/#/en-US/contribution).
|
||||
|
||||
1. Read the [contributing guide](https://github.com/vant-ui/vant/blob/main/.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?):commit message
|
||||
|
||||
Example:
|
||||
|
||||
- docs: fix typo in quickstart
|
||||
- build: optimize build speed
|
||||
- fix(Button): incorrect style
|
||||
- feat(Button): add color prop
|
||||
|
||||
Allowed Types:
|
||||
|
||||
- fix
|
||||
- feat
|
||||
- docs
|
||||
- perf
|
||||
- test
|
||||
- types
|
||||
- build
|
||||
- chore
|
||||
- refactor
|
||||
- breaking change
|
||||
在提交 pull request 之前,请阅读 [贡献指南](https://vant-contrib.gitee.io/vant/#/zh-CN/contribution)。
|
||||
|
||||
Reference in New Issue
Block a user