MCPcopy Create free account

hub / github.com/conventionalcommit/commitlint / types & classes

Types & classes63 in github.com/conventionalcommit/commitlint

↓ 1 callersTypeAliasSeverity
Severity represent the severity level of a rule
lint/lint.go:21
↓ 1 callersTypeAliasmultiError
internal/cmd/util.go:5
StructBodyCaseRule
BodyCaseRule validates that the commit body as a whole matches a given case format. An empty body always passes. Argument: one of the casing.* constan
lint/rule/case_rules.go:96
StructBodyEmptyRule
BodyEmptyRule validates that the commit body is not empty.
lint/rule/empty_rules.go:41
StructBodyFullStopRule
BodyFullStopRule checks that the body does NOT end with a given character.
lint/rule/fullstop_rules.go:42
StructBodyLeadingBlankRule
BodyLeadingBlankRule checks that when a body is present, it begins with a blank line (i.e. the raw commit message has an empty line between header and
lint/rule/leading_blank_rules.go:15
StructBodyMaxLenRule
BodyMaxLenRule to validate max length of body
lint/rule/length_rules.go:72
StructBodyMaxLineLenRule
BodyMaxLineLenRule to validate max line length of body
lint/rule/length_rules.go:84
StructBodyMinLenRule
--- Body --- BodyMinLenRule to validate min length of body
lint/rule/length_rules.go:60
StructBreakingChangeExclamationMarkRule
BreakingChangeExclamationMarkRule implements the breaking-change-exclamation-mark rule. It enforces that breaking changes are signalled consistently
lint/rule/breaking_change_rule.go:17
InterfaceCommit
Commit represents a parsed conventional commit message.
commit/commit.go:12
StructConfig
Config represent linter config
lint/config.go:16
TypeAliasConfigType
internal/config.go:25
StructDefaultFormatter
DefaultFormatter represent default formatter
lint/formatter/default.go:17
StructDescriptionCaseRule
DescriptionCaseRule validates that the commit description (subject) matches a given case format. Argument: one of the casing.* constants.
lint/rule/case_rules.go:79
StructDescriptionEmptyRule
DescriptionEmptyRule validates that the commit description is not empty.
lint/rule/empty_rules.go:65
StructDescriptionFullStopRule
DescriptionFullStopRule checks that the description does NOT end with a given character.
lint/rule/fullstop_rules.go:61
StructDescriptionMaxLenRule
DescriptionMaxLenRule to validate max length of description
lint/rule/length_rules.go:200
StructDescriptionMinLenRule
--- Description --- DescriptionMinLenRule to validate min length of description
lint/rule/length_rules.go:188
StructFooterEmptyRule
FooterEmptyRule validates that the commit footer is not empty.
lint/rule/empty_rules.go:53
StructFooterEnumRule
FooterEnumRule to validate footer tokens
lint/rule/footer_enum.go:15
StructFooterLeadingBlankRule
FooterLeadingBlankRule checks that when a footer is present, it begins with a blank line (i.e. there is an empty line between body/header and footer).
lint/rule/leading_blank_rules.go:28
StructFooterMaxLenRule
FooterMaxLenRule to validate max length of footer
lint/rule/length_rules.go:110
StructFooterMaxLineLenRule
FooterMaxLineLenRule to validate max line length of footer
lint/rule/length_rules.go:122
StructFooterMinLenRule
--- Footer --- FooterMinLenRule to validate min length of footer
lint/rule/length_rules.go:98
StructFooterTypeEnumParam
FooterTypeEnumParam represent a single footer type param
lint/rule/footer_type_enum.go:22
StructFooterTypeEnumRule
FooterTypeEnumRule to validate footer tokens
lint/rule/footer_type_enum.go:17
InterfaceFormatter
Formatter represent a lint result formatter
lint/lint.go:35
StructHeadMaxLenRule
HeadMaxLenRule to validate max length of header
lint/rule/length_rules.go:46
StructHeadMinLenRule
--- Header --- HeadMinLenRule to validate min length of header
lint/rule/length_rules.go:34
StructHeaderCaseRule
HeaderCaseRule validates that the commit header matches a given case format. Argument: one of the casing.* constants.
lint/rule/case_rules.go:116
StructHeaderFullStopRule
HeaderFullStopRule checks that the header does NOT end with a given character. Default character is ".".
lint/rule/fullstop_rules.go:27
StructHeaderTrimRule
HeaderTrimRule checks that the header has no leading or trailing whitespace.
lint/rule/header_trim_rule.go:13
StructIssue
Issue holds a rule result
lint/result.go:23
StructJSONFormatter
JSONFormatter represent default formatter
lint/formatter/json.go:12
StructLinter
Linter is linter for commit message
lint/linter.go:13
InterfaceNote
Note represents a footer note.
commit/commit.go:6
InterfaceParser
Parser parses a commit message into a Commit.
commit/commit.go:32
StructResult
Result holds a linter result
lint/result.go:4
InterfaceRule
Rule represent a linter rule
lint/lint.go:44
StructRuleSetting
RuleSetting represent config for a rule
lint/config.go:4
StructScopeCaseRule
ScopeCaseRule validates that commit scope matches a given case format. An empty scope is always accepted (scope is optional by convention). Argument:
lint/rule/case_rules.go:58
StructScopeCharsetRule
ScopeCharsetRule to validate charset of scope
lint/rule/charset_rules.go:39
StructScopeEmptyRule
ScopeEmptyRule validates that the commit scope is not empty.
lint/rule/empty_rules.go:29
StructScopeEnumRule
ScopeEnumRule to validate scope against a list of allowed values
lint/rule/scope_enum.go:13
StructScopeMaxLenRule
ScopeMaxLenRule to validate max length of scope
lint/rule/length_rules.go:174
StructScopeMinLenRule
--- Scope --- ScopeMinLenRule to validate min length of scope
lint/rule/length_rules.go:162
StructSeverityConfig
SeverityConfig represent severity levels for rules
lint/config.go:10
StructSignedOffByRule
SignedOffByRule checks that at least one footer note token matches the configured value (default "Signed-off-by").
lint/rule/trailer_rules.go:17
StructTrailerExistsRule
TrailerExistsRule checks that at least one footer note has a token matching the configured value. This is a generalized version of signed-off-by: any
lint/rule/trailer_rules.go:42
StructTypeCaseRule
TypeCaseRule validates that commit type matches a given case format. Argument: one of the casing.* constants (e.g. casing.Lower).
lint/rule/case_rules.go:41
StructTypeCharsetRule
TypeCharsetRule to validate charset of type
lint/rule/charset_rules.go:20
StructTypeEmptyRule
TypeEmptyRule validates that the commit type is not empty.
lint/rule/empty_rules.go:17
StructTypeEnumRule
TypeEnumRule to validate types
lint/rule/type_enum.go:13
StructTypeMaxLenRule
TypeMaxLenRule to validate max length of type
lint/rule/length_rules.go:148
StructTypeMinLenRule
--- Type --- TypeMinLenRule to validate min length of type
lint/rule/length_rules.go:136
StructcustomParser
test/syntax_parser_test.go:99
StructdefaultCommit
commit/parser.go:41
StructdefaultNote
commit/parser.go:84
StructdefaultParser
commit/parser.go:9
StructmockCommit
mockCommit implements lint.Commit for testing without depending on any parser package.
test/helpers_test.go:12
StructmockNote
mockNote implements lint.Note for testing
test/helpers_test.go:85
Structregistry
registry/registry.go:49