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

Represents a linter that runs once per file path.

Required Methods§

source

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

Executes this linter against the given file path context.

Implementors§