conventional-commits / conventionalcommits.org

The conventional commits specification
https://conventionalcommits.org
MIT License
6.72k stars 520 forks source link

Parenthesized optional scope in commit message structure #525

Closed MartinSandeCosta closed 10 months ago

MartinSandeCosta commented 1 year ago

Commit message should be structured as per doc:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

While these brackets are correctly indicating that said scope is to be optionally included, the specification is missing the mandatory parentheses that should surround the scope (if it exists). Maybe it can be included as:

<type>[(optional scope)]: <description>

[optional body]

[optional footer(s)]
mentalisttraceur commented 10 months ago

Duplicate with #473 (that one does not have a name that makes it obvious what it's about)

MartinSandeCosta commented 10 months ago

Duplicated by #473