Skip to main content

Crate slopguard_core

Crate slopguard_core 

Source

Modulesยง

baseline
Baseline support: capture the findings of an existing codebase once, then suppress them on later scans so only newly introduced findings are reported.
cache
config
cross_file
Project-wide analyses that no single file can answer.
disable
escalation
Severity escalation: a warning that fires once is noise, the same warning firing many times in one file is a quality problem. When a rule produces at least threshold findings in a single file, its warnings in that file become errors.
finding
fix
scan --fix: apply the rewrites of autofixable rules in place.
git
Git integration for diff-aware scanning: resolve the files changed against a ref so scan --diff only looks at touched code.
metric
File-level structural metrics.
preset
Configuration presets used by slopguard init.
resolution
Import resolution: verify that every import in a file resolves against the declared dependencies and on-disk paths, without a full compile.
rule
sanitize
Neutralizing terminal control characters in strings that third parties control (rule text, file paths, git output, model reasons).
scanner
source
External rule sources: git repositories cloned into a local cache, plus extra local directories. Each configured [[rules.sources]] is resolved to a directory of rule YAML and the provenance stamped on the rules loaded from it.
test_filter
testing