The subject line must not end with a punctuation character.
Standardising the commit message format will help you preserve the readability of the commit history.
Exceptions to this rule include closing parentheses with matching opening
parentheses, symbols associated with numbers, emoticons, emoji shortcodes, and
characters specified in
the no-trailing-punctuation-in-subject-lines--whitelist
input parameter.
A space-separated list of punctuation characters to ignore.
For example, a whitelist of . !
makes the rule accept subject lines with a
trailing period or a trailing exclamation mark.
no-trailing-punctuation-in-subject-lines--whitelist: '' # An empty list of characters.
no-trailing-punctuation-in-subject-lines--whitelist: '? $'
Add a new feature
Fix the bug?
Refactor the code (the main module)
Update dependencies :-)
Write documentation 😄
Improve performance by 42%
Extract a component$
Add a new feature.
Fix the bug!
Refactor the code (
Update dependencies )
Write documentation:
Improve performance by x%
Extract a component#