Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom scope regex #8

Closed
hdevalke opened this issue May 17, 2020 · 1 comment
Closed

Allow custom scope regex #8

hdevalke opened this issue May 17, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@hdevalke
Copy link
Collaborator

Scope is not well defined, as suggested in #7, allowing the user to define a scope regex, would make convco more usable in projects not following a scope matching the default regex.
It would also allow projects to limit the scope to some specific identifiers only.

@hdevalke hdevalke added the enhancement New feature or request label May 17, 2020
hdevalke added a commit that referenced this issue Aug 19, 2020
Add `scopeRegex` to the `.versionrc` file. This will be used to check the validity of the conventional commit.
It can be usefull to limit the scopes to a limitied number (e.g. `changelog|check|commit|version`)

Refs: #8
hdevalke added a commit that referenced this issue Aug 21, 2020
Add `scopeRegex` to the `.versionrc` file. This will be used to check the validity of the conventional commit.
It can be usefull to limit the scopes to a limitied number (e.g. `changelog|check|commit|version`)

Refs: #8
@hdevalke
Copy link
Collaborator Author

closed by dc03118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant