Skip to main content

validate_inline_configuration

Function validate_inline_configuration 

Source
pub fn validate_inline_configuration(
    content: &str,
    flavor: MarkdownFlavor,
    active_rules: &HashSet<String>,
    ignored_for_file: &HashSet<String>,
) -> Vec<InlineConfigWarning>
Expand description

Validate names, options, and ineffective enables in one source scan and one flavor-aware code reading. Name/option warnings precede enable warnings, matching the separate validators’ concatenated reports.