Berkmann18 / commit-conv

Converts commit messages based on commit conventions
MIT License
0 stars 2 forks source link

Allow `scope` in the creation of conventional commit messages #35

Open brandonlenz opened 10 months ago

brandonlenz commented 10 months ago

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.

Berkmann18 commented 7 months ago

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