constants

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_CONFIG = `` /* 577-byte string literal not displayed */

	CONFIG_TYPE = "yaml"
	CONFIG_NAME = "commitlint"
	CONFIG_PATH = ".commitlint"
)
View Source
const (
	GIT_PATH        = ".git"
	HOOKS_DIRECTORY = "hooks"
	COMMIT_MSG_FILE = "commit-msg"
)

Variables

View Source
var (
	CONFIG_FILE_NAME = fmt.Sprintf("%s.%s", CONFIG_NAME, CONFIG_TYPE)
	CONFIG_FILE_PATH = fmt.Sprintf("%s/%s", CONFIG_PATH, CONFIG_FILE_NAME)
)
View Source
var (
	HOOKS_PATH_LOCAL      = fmt.Sprintf("%s/%s", GIT_PATH, HOOKS_DIRECTORY)
	COMMIT_MSG_PATH_LOCAL = fmt.Sprintf("%s/%s", HOOKS_PATH_LOCAL, COMMIT_MSG_FILE)

	COMMIT_MSG_PATH = fmt.Sprintf("%s/%s", HOOKS_DIRECTORY, COMMIT_MSG_FILE)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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