Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAllRules ¶
func NewAllRules( option config.RulesOption, fixMode bool, verbose bool, plugins []shared.RuleSet, ) (internalrule.Rules, error)
NewAllRules creates new all rules.
Types ¶
type PluginFlag ¶ added in v0.16.0
type PluginFlag struct {
// contains filtered or unexported fields
}
PluginFlag manages a flag for plugins.
func (*PluginFlag) Plugins ¶ added in v0.16.0
func (f *PluginFlag) Plugins() []shared.RuleSet
Plugins returns all plugins.
func (*PluginFlag) Set ¶ added in v0.16.0
func (f *PluginFlag) Set(value string) error
Set implements flag.Value.
func (*PluginFlag) String ¶ added in v0.16.0
func (f *PluginFlag) String() string
String implements flag.Value.
Click to show internal directories.
Click to hide internal directories.