use crate::rule_config_serde::RuleConfig;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
#[serde(rename_all = "kebab-case")]
pub struct MD014Config {
#[serde(default = "default_show_output")]
pub show_output: bool,
}
fn default_show_output() -> bool {
true
}
impl Default for MD014Config {
fn default() -> Self {
Self {
show_output: default_show_output(),
}
}
}
impl RuleConfig for MD014Config {
const RULE_NAME: &'static str = "MD014";
}