use harn_lexer::{FixEdit, Span};
#[derive(Debug, Clone)]
pub struct LintDiagnostic {
pub rule: &'static str,
pub message: String,
pub span: Span,
pub severity: LintSeverity,
pub suggestion: Option<String>,
pub fix: Option<Vec<FixEdit>>,
}
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum LintSeverity {
Warning,
Error,
}
pub const DEFAULT_COMPLEXITY_THRESHOLD: usize = 25;
#[derive(Debug, Default, Clone)]
pub struct LintOptions<'a> {
pub file_path: Option<&'a std::path::Path>,
pub require_file_header: bool,
pub complexity_threshold: Option<usize>,
pub persona_step_allowlist: &'a [String],
}