pub struct RuleConfig {Show 28 fields
pub skills: bool,
pub hooks: bool,
pub agents: bool,
pub memory: bool,
pub plugins: bool,
pub xml: bool,
pub mcp: bool,
pub imports: bool,
pub cross_platform: bool,
pub agents_md: bool,
pub copilot: bool,
pub cursor: bool,
pub cline: bool,
pub opencode: bool,
pub gemini_md: bool,
pub codex: bool,
pub roo_code: bool,
pub windsurf: bool,
pub kiro_steering: bool,
pub kiro_agents: bool,
pub amp_checks: bool,
pub prompt_engineering: bool,
pub generic_instructions: bool,
pub frontmatter_validation: bool,
pub xml_balance: bool,
pub import_references: bool,
pub disabled_rules: Vec<String>,
pub disabled_validators: Vec<String>,
}Fields§
§skills: boolEnable skills validation (AS-, CC-SK-)
hooks: boolEnable hooks validation (CC-HK-*)
agents: boolEnable agents validation (CC-AG-*)
memory: boolEnable memory validation (CC-MEM-*)
plugins: boolEnable plugins validation (CC-PL-*)
xml: boolEnable XML balance checking (XML-*)
mcp: boolEnable MCP validation (MCP-*)
imports: boolEnable import reference validation (REF-*)
cross_platform: boolEnable cross-platform validation (XP-*)
agents_md: boolEnable AGENTS.md validation (AGM-*)
copilot: boolEnable GitHub Copilot validation (COP-*)
cursor: boolEnable Cursor project rules validation (CUR-*)
cline: boolEnable Cline rules validation (CLN-*)
opencode: boolEnable OpenCode validation (OC-*)
gemini_md: boolEnable Gemini CLI validation (GM-*)
codex: boolEnable Codex CLI validation (CDX-*)
roo_code: boolEnable Roo Code validation (ROO-*)
windsurf: boolEnable Windsurf validation (WS-*)
kiro_steering: boolEnable Kiro steering validation (KIRO-*)
kiro_agents: boolEnable Kiro agent validation (KR-AG-*)
amp_checks: boolEnable Amp checks validation (AMP-*)
prompt_engineering: boolEnable prompt engineering validation (PE-*)
generic_instructions: boolDetect generic instructions in CLAUDE.md
frontmatter_validation: boolValidate YAML frontmatter
xml_balance: boolCheck XML tag balance (legacy - use xml instead)
import_references: boolValidate @import references (legacy - use imports instead)
disabled_rules: Vec<String>Explicitly disabled rules by ID (e.g., [“CC-AG-001”, “AS-005”])
disabled_validators: Vec<String>Explicitly disabled validators by name (e.g., [“XmlValidator”, “PromptValidator”])
Trait Implementations§
Source§impl Clone for RuleConfig
impl Clone for RuleConfig
Source§fn clone(&self) -> RuleConfig
fn clone(&self) -> RuleConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RuleConfig
impl Debug for RuleConfig
Source§impl Default for RuleConfig
impl Default for RuleConfig
Source§impl<'de> Deserialize<'de> for RuleConfig
impl<'de> Deserialize<'de> for RuleConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for RuleConfig
impl JsonSchema for RuleConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for RuleConfig
impl RefUnwindSafe for RuleConfig
impl Send for RuleConfig
impl Sync for RuleConfig
impl Unpin for RuleConfig
impl UnsafeUnpin for RuleConfig
impl UnwindSafe for RuleConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more