pub fn lint(root: &Path, config: &Config) -> Result<Vec<Violation>>
Top-level entry point: discover files under root, run enabled rules, and return the aggregated violations.
root