Rulepack
Defined in: pack.ts:20
Properties
Section titled “Properties”categories?
Section titled “categories?”
optionalcategories?:Record<string,Category>
Defined in: pack.ts:30
Category metadata keyed by category id.
configs?
Section titled “configs?”
optionalconfigs?:Record<string,Config>
Defined in: pack.ts:32
Named preset configs consumers can extends, e.g. configs.recommended.
name:
string
Defined in: pack.ts:22
Namespace used to reference this pack’s rules, e.g. ‘ai-style’.
rules:
Record<string,Rule<any>>
Defined in: pack.ts:28
Rules keyed by their short name (the part after ‘name/’). Stored as
Rule<any> because a pack holds rules with heterogeneous Options types;
each rule keeps its own typing at the defineRule call site.