# Variables
DCORegex is the regular expression used for Developer Certificate of Origin.
FirstWordRegex is theregular expression used to find the first word in a commit.
HeaderRegex is the regular expression used for Conventional Commits 1.0.0.
MaxNumberOfCommitCharacters is the default maximium number of characters allowed in a commit header.
RequiredBodyThreshold is the default minimum number of line changes required to trigger the body check.
# Structs
Body enforces a maximum number of charcters on the commit header.
BodyChecks is the configuration for checks on the body of a commit.
Commit implements the policy.Policy interface and enforces commit messages to conform the Conventional Commit standard.
Conventional implements the policy.Policy interface and enforces commit messages to conform the Conventional Commit standard.
ConventionalCommitCheck ensures that the commit message is a valid conventional commit.
DCOCheck ensures that the commit message contains a Developer Certificate of Origin.
GPG is the configuration for checks GPG signature on the commit.
GPGCheck ensures that the commit is cryptographically signed using GPG.
GPGIdentityCheck ensures that the commit is cryptographically signed using known identity.
HeaderCaseCheck enforces the case of the first word in the header.
HeaderChecks is the configuration for checks on the header of a commit.
HeaderLastCharacterCheck enforces that the last character of the header isn't in some set.
HeaderLengthCheck enforces a maximum number of charcters on the commit header.
ImperativeCheck enforces that the first word of a commit message header is and imperative verb.
JiraCheck enforces that a Jira issue is mentioned in the header.
JiraChecks is the configuration for checks for Jira issues.
NumberOfCommits enforces a maximum number of charcters on the commit header.
SpellCheck represents to spell check policy.
SpellingCheck enforces correct spelling.