pub(crate) const LINTS_CHECK: &[(&str, fn(&[String]) -> fn(&Path) -> LintFnResult)];Expand description
Workspace lint check set.
Contains non-mutating lints safe for fast verification in hooks / CI:
Execution model:
- Each lint spawns in its own thread; parallelism maximizes throughput while retaining deterministic join & reporting order defined by slice declaration order.
- All runners are started before any join to avoid head-of-line blocking caused by early long-running lints.
Output contract:
- Prints logical name, duration (
time=<Duration>), status code, and stripped stdout or error. - Aggregate process exit code is 1 if any lint fails (non-zero status or panic), else 0.