Berkmann18 / commit-conv

Converts commit messages based on commit conventions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow `scope` in the creation of conventional commit messages

brandonlenz opened this issue · comments

Proposal

Conventional commits allows an optional scope e.g. chore(ci). It should be possible to specify a tag with a scope, or scope as an optional parameter.

Motivation

Since it is valid conventional commit syntax, it should be an allowed feature here.

Use cases and examples

This is coming from the all-contributors bot that fails to create a pull request if a scope is used as the commitType arg, presumably because it throws an error from this library.

That's a very good idea, how would you see it being configured to allow users to set scopes?