pub trait LintRule: Send + Sync {
// Required method
fn definition(&self) -> &LintDefinition;
// Provided methods
fn check_list(&self, _context: &ListLintContext<'_>) -> Vec<LintFinding> { ... }
fn check_response(
&self,
_context: &ResponseLintContext<'_>,
) -> Vec<LintFinding> { ... }
fn check_run(&self, _context: &RunLintContext<'_>) -> Vec<LintFinding> { ... }
}Expand description
Trait for implementing lint checks.