pub trait Rule {
// Required methods
fn name(&self) -> &'static str;
fn check(
&self,
file_path: &Path,
syntax_tree: &File,
content: &str,
lang: &str,
) -> Vec<CodeIssue>;
}pub trait Rule {
// Required methods
fn name(&self) -> &'static str;
fn check(
&self,
file_path: &Path,
syntax_tree: &File,
content: &str,
lang: &str,
) -> Vec<CodeIssue>;
}