Skip to content

Commit

Permalink
docs: 改进贡献者描述指南说明 (#4444)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhouhu authored and yuche committed Sep 12, 2019
1 parent a53c558 commit 82c62f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## 开发配置

你需要保证你的 Node.js 版本大于 8,把仓库 Clone 到本地。运行以下命令
你需要保证你的 Node.js 版本大于 8,把仓库 clone 到本地,并运行以下命令

```bash
$ npm install # or yarn
Expand All @@ -30,11 +30,11 @@ $ npm run bootstrap
## Pull Request 指南

1. 务必保证 `npm run build` 能够编译成功;
2. 务必保证提交到代码遵循相关包中的 `.eslintrc`, `.tslintrc`, `.stylelintrc` 所规定的规范;
2. 务必保证提交的代码遵循相关包中的 `.eslintrc`, `.tslintrc`, `.stylelintrc` 所规定的规范;
3. 当相关包的 `package.json` 含有 `npm test` 命令时,必须保证所有测试用例都需要通过;
4. 当相关包有测试用例时,请给你提交的代码也添加相应的测试用例;
5. 提交代码 commit 时,commit 信息需要遵循 [Angular Style Commit Message Conventions](https://gist.github.com/stephenparish/9941e89d80e2bc58a153)
6. 如果提交到代码非常多或功能复杂,可以把 PR 分成几个 commit 一起提交。我们在合并时会会根据情况 squash。
6. 如果提交的代码非常多或功能复杂,可以把 PR 分成几个 commit 一起提交。我们在合并时会根据情况 squash。

## Credits

Expand Down

0 comments on commit 82c62f8

Please sign in to comment.