Trait x_lint::project::ProjectLinter[][src]

pub trait ProjectLinter: Linter {
    fn run<'l>(
        &self,
        ctx: &ProjectContext<'l>,
        out: &mut LintFormatter<'l, '_>
    ) -> Result<RunStatus<'l>>; }
Expand description

Represents a linter that checks some property for the overall project.

Linters that implement ProjectLinter will run once for the whole project.

Required methods

Executes the lint against the given project context.

Implementors