auto-commit-msg icon indicating copy to clipboard operation
auto-commit-msg copied to clipboard

Add scope

Open MichaelCurrin opened this issue 4 years ago • 0 comments

e.g. when working on package files.

chore(deps): - not yet supported build(deps): - supported


This style is harder and depends on the knowing the codebase.

feat(lang): add polish language

Maybe it can be automated using the highest module for the file or files. e.g. src or lib (for src/lib). The directory could be nested a few levels deep. But also there is some risk of duplication of dir names across dirs.

It's not worth putting a filename.


Well maybe chore(docs) is a good way to mix docs directory with others.


https://www.conventionalcommits.org/en/v1.0.0/

A scope may be provided to a commit’s type, to provide additional contextual information and is contained within parenthesis, e.g., feat(parser): add ability to parse arrays.

A scope MAY be provided after a type. A scope MUST consist of a noun describing a section of the codebase surrounded by parenthesis, e.g., fix(parser):

MichaelCurrin avatar May 01 '21 11:05 MichaelCurrin