pub struct Config {
pub enabled_categories: Vec<String>,
pub disabled_categories: Vec<String>,
pub enabled_rules: Vec<String>,
pub disabled_rules: Vec<String>,
pub deprecated_warning: DeprecatedWarningLevel,
pub markdownlint_compatible: bool,
pub rule_configs: HashMap<String, Value>,
}Expand description
Core configuration for the linting engine
Fields§
§enabled_categories: Vec<String>List of enabled rule categories
disabled_categories: Vec<String>List of disabled rule categories
enabled_rules: Vec<String>List of explicitly enabled rules
disabled_rules: Vec<String>List of explicitly disabled rules
deprecated_warning: DeprecatedWarningLevelHow to handle deprecated rule warnings
markdownlint_compatible: boolEnable markdownlint compatibility mode (disables rules that are disabled by default in markdownlint)
rule_configs: HashMap<String, Value>Rule-specific configuration
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more