Versions in this module Expand all Collapse all v0 v0.13.0 Nov 25, 2026 Changes in this version + var CaseValues = casing.All + type BodyCaseRule struct + Case string + func (r *BodyCaseRule) Apply(s lint.RuleSetting) error + func (r *BodyCaseRule) Name() string + func (r *BodyCaseRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type BodyEmptyRule struct + func (r *BodyEmptyRule) Apply(_ lint.RuleSetting) error + func (r *BodyEmptyRule) Name() string + func (r *BodyEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type BodyFullStopRule struct + Char string + func (r *BodyFullStopRule) Apply(s lint.RuleSetting) error + func (r *BodyFullStopRule) Name() string + func (r *BodyFullStopRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type BodyLeadingBlankRule struct + func (r *BodyLeadingBlankRule) Apply(_ lint.RuleSetting) error + func (r *BodyLeadingBlankRule) Name() string + func (r *BodyLeadingBlankRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type BodyMaxLenRule struct + CheckLen int + func (r *BodyMaxLenRule) Apply(s lint.RuleSetting) error + func (r *BodyMaxLenRule) Name() string + func (r *BodyMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type BodyMaxLineLenRule struct + CheckLen int + func (r *BodyMaxLineLenRule) Apply(s lint.RuleSetting) error + func (r *BodyMaxLineLenRule) Name() string + func (r *BodyMaxLineLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type BodyMinLenRule struct + CheckLen int + func (r *BodyMinLenRule) Apply(s lint.RuleSetting) error + func (r *BodyMinLenRule) Name() string + func (r *BodyMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type BreakingChangeExclamationMarkRule struct + func (r *BreakingChangeExclamationMarkRule) Apply(_ lint.RuleSetting) error + func (r *BreakingChangeExclamationMarkRule) Name() string + func (r *BreakingChangeExclamationMarkRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type DescriptionCaseRule struct + Case string + func (r *DescriptionCaseRule) Apply(s lint.RuleSetting) error + func (r *DescriptionCaseRule) Name() string + func (r *DescriptionCaseRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type DescriptionEmptyRule struct + func (r *DescriptionEmptyRule) Apply(_ lint.RuleSetting) error + func (r *DescriptionEmptyRule) Name() string + func (r *DescriptionEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type DescriptionFullStopRule struct + Char string + func (r *DescriptionFullStopRule) Apply(s lint.RuleSetting) error + func (r *DescriptionFullStopRule) Name() string + func (r *DescriptionFullStopRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type DescriptionMaxLenRule struct + CheckLen int + func (r *DescriptionMaxLenRule) Apply(s lint.RuleSetting) error + func (r *DescriptionMaxLenRule) Name() string + func (r *DescriptionMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type DescriptionMinLenRule struct + CheckLen int + func (r *DescriptionMinLenRule) Apply(s lint.RuleSetting) error + func (r *DescriptionMinLenRule) Name() string + func (r *DescriptionMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type FooterEmptyRule struct + func (r *FooterEmptyRule) Apply(_ lint.RuleSetting) error + func (r *FooterEmptyRule) Name() string + func (r *FooterEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type FooterEnumRule struct + Tokens []string + func (r *FooterEnumRule) Apply(setting lint.RuleSetting) error + func (r *FooterEnumRule) Name() string + func (r *FooterEnumRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type FooterLeadingBlankRule struct + func (r *FooterLeadingBlankRule) Apply(_ lint.RuleSetting) error + func (r *FooterLeadingBlankRule) Name() string + func (r *FooterLeadingBlankRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type FooterMaxLenRule struct + CheckLen int + func (r *FooterMaxLenRule) Apply(s lint.RuleSetting) error + func (r *FooterMaxLenRule) Name() string + func (r *FooterMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type FooterMaxLineLenRule struct + CheckLen int + func (r *FooterMaxLineLenRule) Apply(s lint.RuleSetting) error + func (r *FooterMaxLineLenRule) Name() string + func (r *FooterMaxLineLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type FooterMinLenRule struct + CheckLen int + func (r *FooterMinLenRule) Apply(s lint.RuleSetting) error + func (r *FooterMinLenRule) Name() string + func (r *FooterMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type FooterTypeEnumParam struct + Token string + Types []string + Values []string + type FooterTypeEnumRule struct + Params []*FooterTypeEnumParam + func (r *FooterTypeEnumRule) Apply(setting lint.RuleSetting) error + func (r *FooterTypeEnumRule) Name() string + func (r *FooterTypeEnumRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type HeadMaxLenRule struct + CheckLen int + func (r *HeadMaxLenRule) Apply(s lint.RuleSetting) error + func (r *HeadMaxLenRule) Name() string + func (r *HeadMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type HeadMinLenRule struct + CheckLen int + func (r *HeadMinLenRule) Apply(s lint.RuleSetting) error + func (r *HeadMinLenRule) Name() string + func (r *HeadMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type HeaderCaseRule struct + Case string + func (r *HeaderCaseRule) Apply(s lint.RuleSetting) error + func (r *HeaderCaseRule) Name() string + func (r *HeaderCaseRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type HeaderFullStopRule struct + Char string + func (r *HeaderFullStopRule) Apply(s lint.RuleSetting) error + func (r *HeaderFullStopRule) Name() string + func (r *HeaderFullStopRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type HeaderTrimRule struct + func (r *HeaderTrimRule) Apply(_ lint.RuleSetting) error + func (r *HeaderTrimRule) Name() string + func (r *HeaderTrimRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type ScopeCaseRule struct + Case string + func (r *ScopeCaseRule) Apply(s lint.RuleSetting) error + func (r *ScopeCaseRule) Name() string + func (r *ScopeCaseRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type ScopeCharsetRule struct + Charset string + func (r *ScopeCharsetRule) Apply(s lint.RuleSetting) error + func (r *ScopeCharsetRule) Name() string + func (r *ScopeCharsetRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type ScopeEmptyRule struct + func (r *ScopeEmptyRule) Apply(_ lint.RuleSetting) error + func (r *ScopeEmptyRule) Name() string + func (r *ScopeEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type ScopeEnumRule struct + AllowEmpty bool + Scopes []string + func (r *ScopeEnumRule) Apply(setting lint.RuleSetting) error + func (r *ScopeEnumRule) Name() string + func (r *ScopeEnumRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type ScopeMaxLenRule struct + CheckLen int + func (r *ScopeMaxLenRule) Apply(s lint.RuleSetting) error + func (r *ScopeMaxLenRule) Name() string + func (r *ScopeMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type ScopeMinLenRule struct + CheckLen int + func (r *ScopeMinLenRule) Apply(s lint.RuleSetting) error + func (r *ScopeMinLenRule) Name() string + func (r *ScopeMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type SignedOffByRule struct + Value string + func (r *SignedOffByRule) Apply(s lint.RuleSetting) error + func (r *SignedOffByRule) Name() string + func (r *SignedOffByRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type TrailerExistsRule struct + Value string + func (r *TrailerExistsRule) Apply(s lint.RuleSetting) error + func (r *TrailerExistsRule) Name() string + func (r *TrailerExistsRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type TypeCaseRule struct + Case string + func (r *TypeCaseRule) Apply(s lint.RuleSetting) error + func (r *TypeCaseRule) Name() string + func (r *TypeCaseRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type TypeCharsetRule struct + Charset string + func (r *TypeCharsetRule) Apply(s lint.RuleSetting) error + func (r *TypeCharsetRule) Name() string + func (r *TypeCharsetRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type TypeEmptyRule struct + func (r *TypeEmptyRule) Apply(_ lint.RuleSetting) error + func (r *TypeEmptyRule) Name() string + func (r *TypeEmptyRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type TypeEnumRule struct + Types []string + func (r *TypeEnumRule) Apply(setting lint.RuleSetting) error + func (r *TypeEnumRule) Name() string + func (r *TypeEnumRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type TypeMaxLenRule struct + CheckLen int + func (r *TypeMaxLenRule) Apply(s lint.RuleSetting) error + func (r *TypeMaxLenRule) Name() string + func (r *TypeMaxLenRule) Validate(msg lint.Commit) (*lint.Issue, bool) + type TypeMinLenRule struct + CheckLen int + func (r *TypeMinLenRule) Apply(s lint.RuleSetting) error + func (r *TypeMinLenRule) Name() string + func (r *TypeMinLenRule) Validate(msg lint.Commit) (*lint.Issue, bool)