migrate

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: May 4, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessEffectiveFormatters

func ProcessEffectiveFormatters(old versionone.Linters) []string

func ProcessEffectiveLinters

func ProcessEffectiveLinters(old versionone.Linters) (enable, disable []string)

func ToConfig

func ToConfig(old *versionone.Config) *versiontwo.Config

func Unique

func Unique[S ~[]E, E cmp.Ordered](s S) S

Types

type LinterInfo

type LinterInfo struct {
	Name             string   `json:"name"`
	Presets          []string `json:"inPresets"`
	Slow             bool     `json:"isSlow,omitempty"`
	Default          bool     `json:"enabledByDefault,omitempty"`
	AlternativeNames []string `json:"alternativeNames,omitempty"`
}

Directories

Path Synopsis
Package versionone contains a modified copy of v1 configuration.
Package versionone contains a modified copy of v1 configuration.

Jump to

Keyboard shortcuts

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