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

Add an option to override/complement regex for JIRA specification check #44

Open
iamfeniak opened this issue Apr 25, 2016 · 0 comments
Open

Comments

@iamfeniak
Copy link

When using JIRA format for specification check, e.g.

specification:
    allowed_format: ['jira']

it would be useful to have a parameter to override/complement default regular expression used for validation.

Example current behaviour :

specification:
    allowed_format: ['jira']

"FIRST-42 Feature development" is valid commit message.
"SECOND-42 Feature development" is valid commit message.

Example desired behaviour :

specification:
    allowed_format: ['jira']
    allowed_schemes: ['FIRST-*']

"FIRST-42 Feature development" is valid commit message.
"SECOND-42 Feature development" is invalid commit message.

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

No branches or pull requests

1 participant