Skip to content

Commit

Permalink
Conventional X
Browse files Browse the repository at this point in the history
  • Loading branch information
sed-i committed May 19, 2023
1 parent 4fced08 commit 82a3d74
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 53 deletions.
52 changes: 0 additions & 52 deletions docs/software/cheatsheet/conventional-comments.md

This file was deleted.

84 changes: 84 additions & 0 deletions docs/software/cheatsheet/conventional.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
## Comments
https://conventionalcomments.org/


- `suggestion (blocking)` is similar to `todo`. Omitting `todo`.
- An actionable `thought`/`note` is a `question`. Omitting `question`, `note`.


```
**Praise:** Title
Highlight something positive (do not leave false praise)
```

---

```
**Nitpick:** Title
Non-blocking, preference-based
```

---

```
**Polish:** / **Typo:** Title
Immediate quality improvement
```

---

```
**Suggestion (non-blocking):** Title
Propose improvements (what + why)
```

---

```
**Question:** Title
Uncertain about a potential concern (clarification request)
```

---

```
**Issue:** Title
Highlight specific problem
**Suggestion:** Title
Propose improvements (what + why)
```

---

```
**Chore:** Title
Need to follow some existing policy/process
```


## Commits
https://www.conventionalcommits.org/en/

| Commit type | SemVer | Notes |
|--------------------|-----------|---------------------------|
| `fix(scope):` | PATCH | Patch a bug |
| `feat(scope):` | MINOR | Introduce new feature |
| `<type>!:` | MAJOR | `BREAKING CHANGE:` footer |
| `test(scope):` | | |
| `refactor(scope):` | | |
| `perf(scope):` | | |
| `docs(scope):` | | |
| `style(scope):` | | |
| `ci(scope):` | | |
| `revert:` | (Depends) | `Refs:` footer |

2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ nav:
- Charmcraft: 'software/cheatsheet/charmcraft.md'
- 'Python multiprocessing': 'software/cheatsheet/python-multiprocessing.md'
- Archives: 'software/cheatsheet/archives.md'
- 'Conventional comments': 'software/cheatsheet/conventional-comments.md'
- 'Conventional X': 'software/cheatsheet/conventional.md'
- 'Remote host': 'software/cheatsheet/remote-host.md'
- 'SSH': 'software/cheatsheet/ssh.md'
- Reference:
Expand Down

0 comments on commit 82a3d74

Please sign in to comment.