pub struct LinterConfig {
pub enabled_rules: Vec<String>,
pub disabled_rules: Vec<String>,
pub rule_config: HashMap<String, Value>,
pub exclude_patterns: Vec<String>,
pub output_format: OutputFormat,
}
Expand description
リンター設定
Fields§
§enabled_rules: Vec<String>
有効なルール
disabled_rules: Vec<String>
無効化されたルール
rule_config: HashMap<String, Value>
ルールごとの設定
exclude_patterns: Vec<String>
除外ファイルパターン
output_format: OutputFormat
出力フォーマット
Trait Implementations§
Source§impl Clone for LinterConfig
impl Clone for LinterConfig
Source§fn clone(&self) -> LinterConfig
fn clone(&self) -> LinterConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LinterConfig
impl Debug for LinterConfig
Source§impl Default for LinterConfig
impl Default for LinterConfig
Source§impl<'de> Deserialize<'de> for LinterConfig
impl<'de> Deserialize<'de> for LinterConfig
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 LinterConfig
impl RefUnwindSafe for LinterConfig
impl Send for LinterConfig
impl Sync for LinterConfig
impl Unpin for LinterConfig
impl UnwindSafe for LinterConfig
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