Documentation
¶
Index ¶
- func ValidateRuleSet(rs *RuleSet) error
- type Rule
- type RuleSet
- func ApplyVariables(rs *RuleSet, variables map[string]string) (*RuleSet, error)
- func LoadRuleSet(skillkitDir string, projectName string, projectDescription string) (*RuleSet, error)
- func LoadRuleSetForProject(projectRoot string, cfg *config.Config) (*RuleSet, error)
- func MergeRules(global []Rule, scoped []Rule, packs []registry.Pack) *RuleSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateRuleSet ¶
Types ¶
type Rule ¶
type Rule struct {
Name string
Path string
Content string
Priority int
Tags []string
Enabled bool
ApplyTo string
Scoped bool
}
func ParseDirectory ¶
func ParseScopedDirectory ¶
Click to show internal directories.
Click to hide internal directories.