Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,18 @@ package.json
package-lock.json
```

### 💩 Do not write what you did in commit msg
_Good 👍🏻_


- 1
- 1
- fix

_Bad 👎🏻_

- fix(xxx): Fix a bug where the login button was disabled incorrectly.

### 💩 Always name your boolean value a `flag`

Leave the space for your colleagues to think what the boolean value means.
Expand Down
12 changes: 12 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,18 @@ package.json
package-lock.json
```

### 💩 不要在commit msg写明白你做了什么
_Good 👍🏻_


- 1
- 1
- 修改

_Bad 👎🏻_

- fix(xxx): 复了登录按钮被错误禁用的 bug

### 💩 函数长的比短的好

不要把程序逻辑分成可读的部分。如果IDE的搜索停止,而您无法找到所需的文件或函数,该怎么办?
Expand Down