Skip to content

Respect conventional-commits grammar for scope #543

Description

@sdenef

Hello,

First thank for your work.

I received a "malformed scope" error for a commit where scope was like: mydomain/mypackage.feature
v0.20.1

NB: this scope value could seems weird, but I can't get you the exact scope value.

Anyway, AFAIK this should be OK according to:
https://github.com/conventional-commits/parser/blob/main/README.md?plain=1#L71
<scope> ::= <any UTF8-octets except newline or parens>+

I'm not GO fluent and code provide a PR.
Hope someone can provide this.

Regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions