pub fn analyze(path: &Path, content: &str) -> Vec<Finding>Expand description
Run every check over content, reporting against path.
Findings come back sorted by position, then by check name, so the output of two runs over the same file is byte-identical and a reader follows the file top to bottom. The checks themselves run in whatever order is convenient - grouping the output by check, as the 1.x implementation’s append order did, makes a reader jump around the file.