You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Projects may decide to put further restrictions on typeNoun, scopeNoun, and footerToken as they deem useful.
Declaration of Intended Compatibility
The intention of the ABNF grammar is to reflect what is written in the prose ruleset in the specification section. Any difference of the ABNF grammar from the specification ruleset is unintentional, by accident, and a mistake in the ABNF grammar. The ruleset takes precedence over the ABNF grammar.
It would be great to have a BNF grammar to explain things with less risk of ambiguity and to support implementing parsers for checkers and alike.
Here's a start, using the ABNF from RFC5234.
I might come up with a PR if the idea of adding an ABNF grammar is accepted.
ABNF Definition of Conventional Commits
Projects may decide to put further restrictions on
typeNoun
,scopeNoun
, andfooterToken
as they deem useful.Declaration of Intended Compatibility
The intention of the ABNF grammar is to reflect what is written in the prose ruleset in the specification section. Any difference of the ABNF grammar from the specification ruleset is unintentional, by accident, and a mistake in the ABNF grammar. The ruleset takes precedence over the ABNF grammar.
References:
The text was updated successfully, but these errors were encountered: