pub(crate) type LintBuilder = fn(&[String]) -> fn(&Path) -> LintFnResult;Expand description
Function pointer type for building lints based on file changes.
Encapsulates logic to build or select a lint based on file changes, returning a Lint function to execute.
ยงRationale
Enables efficient conditional execution of lints, avoiding unnecessary work when no relevant files have changed while maintaining consistent output format.