Struct harper_core::LintGroupConfig
source · pub struct LintGroupConfig {
pub spelled_numbers: Option<bool>,
pub an_a: Option<bool>,
pub sentence_capitalization: Option<bool>,
pub unclosed_quotes: Option<bool>,
pub wrong_quotes: Option<bool>,
pub long_sentences: Option<bool>,
pub repeated_words: Option<bool>,
pub spaces: Option<bool>,
pub matcher: Option<bool>,
pub spell_check: Option<bool>,
}
Fields§
§spelled_numbers: Option<bool>
Configures the use of the SpelledNumbers
linter.
If set to None
, the default configuration will be used.
an_a: Option<bool>
Configures the use of the AnA
linter.
If set to None
, the default configuration will be used.
sentence_capitalization: Option<bool>
Configures the use of the SentenceCapitalization
linter.
If set to None
, the default configuration will be used.
unclosed_quotes: Option<bool>
Configures the use of the UnclosedQuotes
linter.
If set to None
, the default configuration will be used.
wrong_quotes: Option<bool>
Configures the use of the WrongQuotes
linter.
If set to None
, the default configuration will be used.
long_sentences: Option<bool>
Configures the use of the LongSentences
linter.
If set to None
, the default configuration will be used.
repeated_words: Option<bool>
Configures the use of the RepeatedWords
linter.
If set to None
, the default configuration will be used.
spaces: Option<bool>
Configures the use of the Spaces
linter.
If set to None
, the default configuration will be used.
matcher: Option<bool>
Configures the use of the Matcher
linter.
If set to None
, the default configuration will be used.
spell_check: Option<bool>
Implementations§
source§impl LintGroupConfig
impl LintGroupConfig
sourcepub fn fill_default_values(&mut self)
pub fn fill_default_values(&mut self)
Fills the None
values in the configuration with the default values.
Trait Implementations§
source§impl Clone for LintGroupConfig
impl Clone for LintGroupConfig
source§fn clone(&self) -> LintGroupConfig
fn clone(&self) -> LintGroupConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more