#[non_exhaustive]
pub struct LintConfig {
Show 31 fields pub no_console: RuleConfig<NoConsoleConfig>, pub prefer_regex_literals: RuleConfig<PreferRegexLiteralsConfig>, pub no_alert: RuleConfig<()>, pub no_debugger: RuleConfig<()>, pub no_use_before_define: RuleConfig<NoUseBeforeDefineConfig>, pub dot_notation: RuleConfig<DotNotationConfig>, pub quotes: RuleConfig<QuotesConfig>, pub no_empty_function: RuleConfig<NoEmptyFunctionConfig>, pub no_empty_pattern: RuleConfig<()>, pub eqeqeq: RuleConfig<EqeqeqConfig>, pub no_loop_func: RuleConfig<()>, pub no_new: RuleConfig<()>, pub no_restricted_syntax: RuleConfig<NoRestrictedSyntaxConfig>, pub radix: RuleConfig<RadixConfig>, pub no_bitwise: RuleConfig<NoBitwiseConfig>, pub default_param_last: RuleConfig<()>, pub yoda: RuleConfig<YodaConfig>, pub no_new_symbol: RuleConfig<()>, pub use_isnan: RuleConfig<UseIsNanConfig>, pub valid_typeof: RuleConfig<ValidTypeofConfig>, pub no_param_reassign: RuleConfig<NoParamReassignConfig>, pub symbol_description: RuleConfig<SymbolDescriptionConfig>, pub no_obj_calls: RuleConfig<()>, pub no_var: RuleConfig<()>, pub no_throw_literal: RuleConfig<()>, pub prefer_const: RuleConfig<PreferConstConfig>, pub no_compare_neg_zero: RuleConfig<()>, pub constructor_super: RuleConfig<()>, pub no_sparse_arrays: RuleConfig<()>, pub default_case_last: RuleConfig<()>, pub no_await_in_loop: RuleConfig<()>,
}

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
no_console: RuleConfig<NoConsoleConfig>prefer_regex_literals: RuleConfig<PreferRegexLiteralsConfig>no_alert: RuleConfig<()>no_debugger: RuleConfig<()>no_use_before_define: RuleConfig<NoUseBeforeDefineConfig>dot_notation: RuleConfig<DotNotationConfig>quotes: RuleConfig<QuotesConfig>no_empty_function: RuleConfig<NoEmptyFunctionConfig>no_empty_pattern: RuleConfig<()>eqeqeq: RuleConfig<EqeqeqConfig>no_loop_func: RuleConfig<()>no_new: RuleConfig<()>no_restricted_syntax: RuleConfig<NoRestrictedSyntaxConfig>radix: RuleConfig<RadixConfig>no_bitwise: RuleConfig<NoBitwiseConfig>default_param_last: RuleConfig<()>yoda: RuleConfig<YodaConfig>no_new_symbol: RuleConfig<()>use_isnan: RuleConfig<UseIsNanConfig>valid_typeof: RuleConfig<ValidTypeofConfig>no_param_reassign: RuleConfig<NoParamReassignConfig>symbol_description: RuleConfig<SymbolDescriptionConfig>no_obj_calls: RuleConfig<()>no_var: RuleConfig<()>no_throw_literal: RuleConfig<()>prefer_const: RuleConfig<PreferConstConfig>no_compare_neg_zero: RuleConfig<()>constructor_super: RuleConfig<()>no_sparse_arrays: RuleConfig<()>default_case_last: RuleConfig<()>no_await_in_loop: RuleConfig<()>

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
self has higher priority.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Deserializes using the given deserializer

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type for metadata in pointers and references to Self.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more