Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configurable ¶
type Configurable interface {
ApplySettings(settings map[string]any) error
DefaultSettings() map[string]any
}
Configurable is implemented by rules that have user-tunable settings.
type Defaultable ¶
type Defaultable interface {
EnabledByDefault() bool
}
Defaultable is implemented by rules that override the default enabled state in generated/runtime configs.
type FixableRule ¶
FixableRule is a Rule that can also auto-fix violations.
Click to show internal directories.
Click to hide internal directories.