lintcommit

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLintCommitEmail

func CreateLintCommitEmail(regexpStr string) func(email string) error

func LintCommitMsg

func LintCommitMsg(commitMsg string) error

Types

type LintCommit

type LintCommit struct {
	Email  string `yaml:"email,omitempty"`
	Types  string `yaml:"types,omitempty"`
	Header string `yaml:"header,omitempty"`
}

func (LintCommit) NewLint

func (lintCommit LintCommit) NewLint(ctx context.Context) func() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL