pub(crate) fn build_conditional_lint(
changed_paths: &[String],
extensions: &[&str],
lint: fn(&Path) -> LintFnResult,
) -> fn(&Path) -> LintFnResultExpand description
Conditionally returns the supplied lint or LINT_NO_OP based on file changes.
An empty extensions slice means the lint is unconditional (always runs).