linters

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Linter

func Linter(c *CliArgs, config LinterConfig, protoImportPaths []string, protoFiles []string) error

Types

type CliArgs

type CliArgs struct {
	//FormatType string
	//ProtoImportPaths          []string
	EnabledRules  []string
	DisabledRules []string
	ListRulesFlag bool
	DebugFlag     bool
}

func NewCli

func NewCli() (*CliArgs, typex.Flags)

type LinterConfig

type LinterConfig struct {
	Rules                     lint.Config `yaml:"rules,omitempty" hash:"-"`
	FormatType                string      `yaml:"format_type"`
	IgnoreCommentDisablesFlag bool        `yaml:"ignore_comment_disables_flag"`
}

Jump to

Keyboard shortcuts

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