package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jan 21, 2026
License: MIT
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package linters provides proto file linting with AIP rules.
Linter runs the linter on the given proto files.
type CliArgs struct {
EnabledRules []string
DisabledRules []string
ListRulesFlag bool
DebugFlag bool
}
CliArgs holds command line arguments for the linter.
NewCli creates a new CLI arguments instance and options.
type LinterConfig struct {
Rules lint.Config `yaml:"rules,omitempty" hash:"-"`
FormatType string `yaml:"format_type"`
}
LinterConfig holds configuration for the linter.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.