Skip to main content

Crate agentlint_core

Crate agentlint_core 

Source

Structs§

Diagnostic
IgnoreEntry
Suppress specific rules for paths whose string representation ends with path. An empty rules vec suppresses all rules for matching paths.
RunConfig
Configuration passed to the runner; controls filtering and output behaviour.
RunResult

Enums§

Difficulty
Controls which rules fire. Rules at or below the configured difficulty are reported; rules above are silently suppressed.
OutputFormat
RuleOverride
Per-rule severity override from config.
Severity

Traits§

Validator

Functions§

format_gnu
format_json
format_pretty
Pretty-print diagnostics grouped by file with ANSI colour.
run
Infrastructure convenience: walk roots, read each file, then delegate to run_on. Only files claimed by at least one validator are read; binary and unrecognised files are silently skipped. Read errors on claimed files are surfaced as Diagnostic::error entries rather than panicking.
run_on
Pure domain runner: dispatch files (already-loaded path+content pairs) to matching validators and collect diagnostics.