[][src]Trait deno_lint::rules::LintRule

pub trait LintRule {
    fn new() -> Box<Self>
    where
        Self: Sized
;
fn lint_module(&self, context: Context, module: Module);
fn code(&self) -> &'static str; }

Required methods

fn new() -> Box<Self> where
    Self: Sized

fn lint_module(&self, context: Context, module: Module)

fn code(&self) -> &'static str

Loading content...

Implementors

Loading content...