types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package types provides the configuration of the commit types allowed during a git lint run.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config represents the configuration of the commit types.

func NewConfig

func NewConfig(types value.Strings) Config

NewConfig creates a new types config with the provided types value.

func (Config) List

func (c Config) List() value.Strings

List returns the commit types with their issue type levels.

Jump to

Keyboard shortcuts

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