auto-commit-msg
auto-commit-msg copied to clipboard
Add scope
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):