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

Grammar does not enforce whitespace after : token in footers #47

Open
jan-ferdinand opened this issue Feb 19, 2024 · 0 comments
Open

Grammar does not enforce whitespace after : token in footers #47

jan-ferdinand opened this issue Feb 19, 2024 · 0 comments

Comments

@jan-ferdinand
Copy link

As per conventional commits specification v1.0.0 §8: “Each footer MUST consist of a word token, followed by either a :<space> or <space># separator, followed by a string value.”

However, the reference grammar currently specifies:

<separator>       ::= ":" | " #"
/* missing <space>     ^^ */

This is similar to but distinct from #41. The inconsintency was pointed out in crate-ci/git-conventional#54.

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