Skip to content

Commit faabcf2

Browse files
committed
docs(github): update template
1 parent 298b4ee commit faabcf2

File tree

3 files changed

+33
-33
lines changed

3 files changed

+33
-33
lines changed

.github/CONTRIBUTING.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
## Easy Mock 贡献指南
1+
## Easy Mock Contributing Guide
22

3-
Hi,感谢你使用 Easy Mock
3+
Hi, Thank you for your attention to Easy Mock.
44

5-
如果你愿意为 Easy Mock 贡献代码或提供建议,请阅读以下内容。
5+
If you are willing to contribute code or provide suggestions for Easy Mock, please make sure to take a moment and read through the following guidelines.
66

77
### Issue
88

9-
- issue 仅用于提交 Bug 或 Feature 相关的内容,其它内容可能会被直接关闭。
10-
- 在提交 issue 之前,请搜索相关内容是否已被提出。
9+
- Issues are exclusively for bug reports and feature requests. Other questions may be closed directly.
10+
- Before submitting an issue, please check if similar problems have already been issued.
1111

1212
### Pull Request
1313

14-
- 请先 fork 一份到自己的项目下。
15-
- commit 提交规范参考 [angular](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines)
16-
- 创建一个新的分支来让你完成 **修复/改进**
17-
- 添加相关测试用例,并通过测试。
18-
- 提交 PR 前请 rebase,确保 commit 记录的整洁。
19-
- 确保 PR 是提交到 dev 分支,而不是 master 分支。
20-
- 在 PR 中给出相关的描述信息。
14+
- Fork this repository to your own account.
15+
- Commit Messages should conform to [Angular's guidelines](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines).
16+
- Create a new topic branch to contain your feature, change, or fix.
17+
- Make sure `npm test` passes.
18+
- Rebase before creating a PR to keep commit history clear.
19+
- Make sure PRs are created to `dev` branch instead of `master` branch.
20+
- If you are fixing a bug, please include detailed description of the bug in the PR.
2121

22-
### 代码规范
22+
### Code Style
2323

24-
遵循 Standard [ESLint](http://standardjs.com) 即可。
24+
Just comply with the ESLint configuration of [Standard](http://standardjs.com).

.github/ISSUE_TEMPLATE.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<!-- 问题可能已经存在!请在创建之前搜索相关问题。 -->
1+
<!-- Before submitting an issue, please check if similar problems have already been issued. -->
22

3-
## 出现什么问题?
3+
## OS / Browser Version
44

5-
## 如何能重现这个问题?
5+
## Node.js / MongoDB Version
66

7-
## 期望的结果?
7+
## Steps to reproduce
88

9-
## 操作系统版本 / 浏览器版本
9+
## What is Expected
1010

11-
<!-- 如果是部署出现问题,还应提供 Node、MongoDB、服务器 的版本信息与错误日志。 -->
11+
## What is actually happening?

.github/PULL_REQUEST_TEMPLATE.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
**这个 PR 中做了哪方面的改变?** (至少选一个)
1+
**What kind of change does this PR introduce?**
22

33
- [ ] Bugfix
44
- [ ] Feature
55
- [ ] Code style update
66
- [ ] Refactor
77
- [ ] Build-related changes
8-
- [ ] 其它, 请描述:
8+
- [ ] Other, please describe:
99

10-
**这个 PR 是否有突破性改变:** (选一个)
10+
**Does this PR introduce a breaking change?**
1111

12-
- [ ]
13-
- [ ]
12+
- [ ] Yes
13+
- [ ] No
1414

15-
如果是,请描述出对现在的应用程序的影响以及迁移方案或兼容方案:
15+
If yes, please describe the impact and migration path for existing applications:
1616

17-
**这个 PR 应该满足以下条件:**
17+
**The PR fulfills these requirements:**
1818

19-
- [ ] 提交到 dev 分支,而不是 master 分支
20-
- [ ] 遵循 Standard [ESLint](http://standardjs.com)
21-
- [ ] 提交前已完成 rebase,确保 commit 记录的整洁
22-
- [ ] 解决具体问题时,应该在 PR 的标题中体现出来。(例如:fix #xxx: 描述,xxx 指具体 issue 的编号)
23-
- [ ] 通过所有测试用例
19+
- [ ] It's submitted to the `dev` branch, not the `master` branch
20+
- [ ] comply with the ESLint configuration of [Standard](http://standardjs.com)
21+
- [ ] Rebase before creating a PR to keep commit history clear
22+
- [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
23+
- [ ] All tests are passing
2424

25-
**其它信息:**
25+
**Other information:**

0 commit comments

Comments
 (0)