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

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

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

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

Required methods

fn run<'l>(
    &self,
    ctx: &ProjectContext<'l>,
    out: &mut LintFormatter<'l, '_>
) -> Result<RunStatus<'l>>
[src]

Executes the lint against the given project context.

Loading content...

Implementors

Loading content...