pub mod exports;
pub mod imports;
pub mod modules;
pub mod super_imports;
pub mod wildcard_imports;
use std::path::Path;
use crate::diagnostic::Diagnostic;
pub trait Rule {
fn id(&self) -> &str;
fn name(&self) -> &str;
fn check(&self, content: &str, file: &Path) -> Vec<Diagnostic>;
fn fix(&self, content: &str) -> String;
}