Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/conventionalcommit/commitlint
/ functions
Functions
525 in github.com/conventionalcommit/commitlint
⨍
Functions
525
◇
Types & classes
63
↓ 2 callers
Method
Apply
(_ lint.RuleSetting)
lint/rule/empty_rules.go:20
↓ 2 callers
Method
Apply
(_ lint.RuleSetting)
lint/rule/empty_rules.go:32
↓ 2 callers
Method
Apply
(_ lint.RuleSetting)
lint/rule/empty_rules.go:44
↓ 2 callers
Method
Apply
(_ lint.RuleSetting)
lint/rule/empty_rules.go:56
↓ 2 callers
Method
Apply
(_ lint.RuleSetting)
lint/rule/empty_rules.go:68
↓ 2 callers
Method
BodyBlankLines
()
commit/commit.go:25
↓ 2 callers
Function
DiagnosticPosition
DiagnosticPosition returns the 1-based line and column for err in msg when err carries a byte offset, or false otherwise.
commit/parser.go:112
↓ 2 callers
Function
FirstLine
FirstLine returns the first line of msg without its LF or CRLF ending.
commit/parser.go:93
↓ 2 callers
Method
FooterBlankLines
()
commit/commit.go:26
↓ 2 callers
Function
ForEachLine
ForEachLine iterates over lines in s without their LF or CRLF endings. Iteration stops if fn returns false.
commit/parser.go:101
↓ 2 callers
Method
Format
Format formats the linter result
lint/lint.go:40
↓ 2 callers
Function
FullVersion
FullVersion returns version number with hash and build time of the commitlint
internal/version.go:30
↓ 2 callers
Function
GetFormatter
GetFormatter returns the Formatter registered under name, and whether it was found.
registry/registry.go:35
↓ 2 callers
Function
GetRule
GetRule returns the Rule registered under name, and whether it was found.
registry/registry.go:30
↓ 2 callers
Method
HasBreakingFooter
()
commit/commit.go:24
↓ 2 callers
Method
HasHeaderBang
()
commit/commit.go:23
↓ 2 callers
Function
IsCamelCase
IsCamelCase reports whether s is in camelCase format. camelCase: starts with a lowercase letter and contains only letters and digits (no separators).
internal/casing/casing.go:59
↓ 2 callers
Function
IsKebabCase
IsKebabCase reports whether s is in kebab-case format. kebab-case: only lowercase letters, digits, and hyphens. Examples: "my-feature", "kebab-case",
internal/casing/casing.go:78
↓ 2 callers
Function
IsPascalCase
IsPascalCase reports whether s is in PascalCase format. PascalCase: starts with an uppercase letter and contains only letters and digits (no separator
internal/casing/casing.go:90
↓ 2 callers
Function
IsSentenceCase
IsSentenceCase reports whether s is in Sentence case format. Sentence case: first rune is uppercase; every subsequent letter is lowercase. Digits and
internal/casing/casing.go:110
↓ 2 callers
Function
IsSnakeCase
IsSnakeCase reports whether s is in snake_case format. snake_case: only lowercase letters, digits, and underscores. Examples: "my_feature", "snake_cas
internal/casing/casing.go:129
↓ 2 callers
Function
IsStartCase
IsStartCase reports whether s is in Start Case format. Start Case: every whitespace-separated word starts with an uppercase letter. Examples: "My Feat
internal/casing/casing.go:141
↓ 2 callers
Function
LookupConfigPath
LookupConfigPath returns config file path following below order 1. env path 2. commitlint.yaml in current directory 3. use default config
internal/config.go:44
↓ 2 callers
Function
NewWithParser
NewWithParser returns a new Linter instance using parser for ParseAndLint.
lint/linter.go:28
↓ 2 callers
Method
RegisterFormatter
(format lint.Formatter)
registry/registry.go:144
↓ 2 callers
Method
RegisterRule
(cRule lint.Rule)
registry/registry.go:130
↓ 2 callers
Method
Validate
Validate validates the rule for given commit message if given commit is valid, return true and messages slice are ignored if invalid, return a error m
lint/lint.go:56
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/case_rules.go:86
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/case_rules.go:123
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/charset_rules.go:27
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/charset_rules.go:46
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/length_rules.go:67
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/length_rules.go:79
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/length_rules.go:129
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/length_rules.go:143
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/length_rules.go:155
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/length_rules.go:195
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/trailer_rules.go:55
↓ 2 callers
Method
Validate
Validate validates TypeEnumRule
lint/rule/type_enum.go:32
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/empty_rules.go:21
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/empty_rules.go:33
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/empty_rules.go:45
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/empty_rules.go:57
↓ 2 callers
Method
Validate
(msg lint.Commit)
lint/rule/empty_rules.go:69
↓ 2 callers
Function
checkIfMinVersion
(versionNo string)
config/config.go:209
↓ 2 callers
Function
initLinterRules
(conf *lint.Config)
config/lint.go:31
↓ 2 callers
Function
isHookExists
(err error)
internal/cmd/hook.go:111
↓ 2 callers
Function
isValidVersion
(versionNo string)
config/config.go:199
↓ 2 callers
Function
newLinter
(conf *Config, rules []Rule, parser commit.Parser)
lint/linter.go:35
↓ 2 callers
Function
newResult
(input string, issues ...*Issue)
lint/result.go:9
↓ 2 callers
Function
validateCharset
(allowedCharset, toCheck string)
lint/rule/rule.go:48
↓ 2 callers
Function
validateMaxLineLength
(typ string, expectedLen int, toCheck string)
lint/rule/rule.go:85
↓ 2 callers
Function
writeHooks
(hookDir string, isReplace bool)
internal/cmd/hook.go:48
↓ 1 callers
Method
Apply
(s lint.RuleSetting)
lint/rule/length_rules.go:101
↓ 1 callers
Method
Apply
(s lint.RuleSetting)
lint/rule/length_rules.go:113
↓ 1 callers
Method
Apply
(s lint.RuleSetting)
lint/rule/length_rules.go:165
↓ 1 callers
Method
Apply
(s lint.RuleSetting)
lint/rule/length_rules.go:177
↓ 1 callers
Method
Apply
(s lint.RuleSetting)
lint/rule/length_rules.go:203
↓ 1 callers
Function
DefaultTypeEnums
DefaultTypeEnums returns the default list of type enums
config/default.go:48
↓ 1 callers
Method
Description
Description returns description of the issue
lint/result.go:48
↓ 1 callers
Function
Formatters
Formatters returns all registered formatters.
registry/registry.go:45
↓ 1 callers
Method
Formatters
()
registry/registry.go:174
↓ 1 callers
Method
GetFormatter
(name string)
registry/registry.go:166
↓ 1 callers
Method
GetRule
(name string)
registry/registry.go:158
↓ 1 callers
Method
GetSeverity
GetSeverity returns Severity for given ruleName
lint/config.go:70
↓ 1 callers
Method
IsBreakingChange
()
commit/commit.go:21
↓ 1 callers
Method
Lint
Lint checks the given Commit against rules
lint/linter.go:118
↓ 1 callers
Function
LookupAndParse
LookupAndParse gets the config path according to the precedence if exists, parses the config file and returns config instance
config/config.go:145
↓ 1 callers
Method
Name
()
lint/rule/case_rules.go:43
↓ 1 callers
Method
Name
()
lint/rule/case_rules.go:60
↓ 1 callers
Method
Name
()
lint/rule/case_rules.go:81
↓ 1 callers
Method
Name
()
lint/rule/case_rules.go:98
↓ 1 callers
Method
Name
()
lint/rule/case_rules.go:118
↓ 1 callers
Method
Name
()
lint/rule/charset_rules.go:22
↓ 1 callers
Method
Name
()
lint/rule/charset_rules.go:41
↓ 1 callers
Method
Name
Name return name of the rule
lint/rule/scope_enum.go:20
↓ 1 callers
Method
Name
Name return name of the rule
lint/rule/footer_type_enum.go:29
↓ 1 callers
Method
Name
()
lint/rule/fullstop_rules.go:29
↓ 1 callers
Method
Name
()
lint/rule/fullstop_rules.go:44
↓ 1 callers
Method
Name
()
lint/rule/fullstop_rules.go:63
↓ 1 callers
Method
Name
Name return name of the rule
lint/rule/footer_enum.go:20
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:36
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:48
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:62
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:74
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:86
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:100
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:112
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:124
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:138
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:150
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:164
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:176
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:190
↓ 1 callers
Method
Name
()
lint/rule/length_rules.go:202
↓ 1 callers
Method
Name
()
lint/rule/trailer_rules.go:19
↓ 1 callers
Method
Name
()
lint/rule/trailer_rules.go:44
↓ 1 callers
Method
Name
Name return name of the rule
lint/rule/type_enum.go:18
↓ 1 callers
Method
Name
Name returns name of formatter
lint/formatter/default.go:20
↓ 1 callers
Method
Name
Name returns name of formatter
lint/formatter/json.go:15
← previous
next →
101–200 of 525, ranked by callers