config

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilePath added in v1.6.0

func GetFilePath(global bool) (string, error)

func GetGlobalPath added in v1.6.0

func GetGlobalPath() (string, error)

func GetPath added in v1.6.0

func GetPath(global bool) (string, error)

func GetUserHome added in v1.6.0

func GetUserHome() (string, error)

func Load

func Load() error

Types

type Config

type Config struct {
	Enabled  bool
	UseEmoji bool
	Rules    validation.ValidatorConfig
}

func GetConfig

func GetConfig() *Config

Jump to

Keyboard shortcuts

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