We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3579a8 commit eec9e7fCopy full SHA for eec9e7f
scripts/commit-msg.hook
@@ -300,6 +300,11 @@ done
300
add_warning 1 "Commit subject should use imperative mood"
301
fi
302
303
+ # 7d. Alert if the commit subject uses the pattern "Implement of ..."
304
+ if [[ "${COMMIT_SUBJECT_TO_PROCESS}" =~ ^(Implement|Realize|Update|Finish|Code)[[:space:]]+of[[:space:]]+ ]]; then
305
+ add_warning 1 "Avoid using 'of' immediately after the verb"
306
+ fi
307
+
308
# 8. Use the body to explain what and why vs. how
309
# ------------------------------------------------------------------------------
310
0 commit comments