pub mod config;
pub mod linter;
pub mod output;
pub mod problem;
pub mod rules;
pub use config::Config;
pub use linter::Linter;
pub use problem::{LintLevel, LintProblem};
pub use rules::{Rule, RuleRegistry};
pub type Result<T> = std::result::Result<T, LintError>;
#[derive(thiserror::Error, Debug)]
pub enum LintError {
#[error("Failed to parse YAML: {0}")]
ParseError(String),
#[error("Failed to read file: {0}")]
IoError(#[from] std::io::Error),
#[error("Invalid configuration: {0}")]
ConfigError(String),
#[error("Unknown rule: {0}")]
UnknownRule(String),
}