You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add commit guidelines and best practices to README.md
* Add pull request guidelines to README
---------
Co-authored-by: codebymini <daniel@codebymini.se>
Copy file name to clipboardExpand all lines: README.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,39 @@ Always rename your branch (that is aligned with `dev`) to a name suitable for yo
92
92
93
93
After a PR is merged to `dev`, there is an automatic bump up the version number - please do not modify the version in your branch.
94
94
95
+
### Pull Request Guidelines
96
+
97
+
Each pull request should focus on a **single concern** — one bug fix, one feature, or one improvement. Avoid combining unrelated changes in the same PR.
98
+
99
+
Focused PRs are easier to review, simpler to test, and safer to revert if needed. If your work touches multiple areas, consider splitting it into separate PRs that can be reviewed and merged independently.
100
+
101
+
### Commit Guidelines
102
+
103
+
Write commit messages that complete the sentence: **"If applied, this commit will..."**
104
+
105
+
For example:
106
+
* "Add alarm snooze functionality" ✓
107
+
* "Fix crash when loading empty profile" ✓
108
+
* "Update documentation for build process" ✓
109
+
* "Remove deprecated API calls" ✓
110
+
111
+
**Commit message structure:**
112
+
113
+
```
114
+
<subject line - 50 chars or less>
115
+
116
+
<optional body - wrap at 72 chars>
117
+
```
118
+
119
+
**Best practices:**
120
+
* Use imperative mood in the subject line (Add, Fix, Update, Remove, Refactor)
121
+
* Keep the subject line concise (50 characters or less)
122
+
* Capitalize the first letter of the subject
123
+
* Do not end the subject line with a period
124
+
* Separate subject from body with a blank line
125
+
* Use the body to explain *what* and *why*, not *how*
126
+
* Reference related issues when applicable (e.g., "Fixes #123")
127
+
95
128
### Version Updates
96
129
97
130
Only the maintainers for LoopFollow will update version numbers.
0 commit comments