Skip to main content

run_rules_report

Function run_rules_report 

Source
pub fn run_rules_report(
    root: &Path,
    project_root: &Path,
    filter_rule: Option<&str>,
    filter_tag: Option<&str>,
    engine: &RuleKind,
    debug: &[String],
    config: &RulesRunConfig,
    files: Option<&[PathBuf]>,
    path_filter: &PathFilter,
) -> DiagnosticsReport
Expand description

Run all rules (syntax + fact) and return a unified DiagnosticsReport.