/// LintSeverityEnum
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub enum LintSeverityEnum {
    #[default]
    #[serde(rename = "error")]
    Error,
    #[serde(rename = "info")]
    Info,
    #[serde(rename = "unknown")]
    Unknown,
    #[serde(rename = "warn")]
    Warn,
}
impl std::fmt::Display for LintSeverityEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let str_val = match self {
            LintSeverityEnum::Error => "error",
            LintSeverityEnum::Info => "info",
            LintSeverityEnum::Unknown => "unknown",
            LintSeverityEnum::Warn => "warn",
        };
        write!(f, "{}", str_val)
    }
}
