Documentation
¶
Overview ¶
Package plugin registers azproviderlint's analyzers as a golangci-lint module plugin.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) GetLoadMode ¶
type Settings ¶
type Settings struct {
Enable []string `json:"enable"`
Disable []string `json:"disable"`
// Flags holds rule-specific analyzer flags, keyed by rule then flag name, collected from
// the settings' rule-name keys.
Flags map[string]map[string]string `json:"-"`
}
Settings allows rules to be enabled/disabled per-rule from .golangci.yml via linters.settings.custom.azproviderlint.settings. An empty enable list means all rules. Any other top-level key must be a rule name and sets that rule's analyzer flags:
settings:
enable: [AZS006]
AZS006:
ignore-sensitive: true
Click to show internal directories.
Click to hide internal directories.