pub struct PartialRulesConfig {Show 53 fields
pub unused_files: Option<Severity>,
pub unused_exports: Option<Severity>,
pub unused_types: Option<Severity>,
pub private_type_leaks: Option<Severity>,
pub unused_dependencies: Option<Severity>,
pub unused_dev_dependencies: Option<Severity>,
pub unused_optional_dependencies: Option<Severity>,
pub unused_enum_members: Option<Severity>,
pub unused_class_members: Option<Severity>,
pub unused_store_members: Option<Severity>,
pub unprovided_injects: Option<Severity>,
pub unrendered_components: Option<Severity>,
pub unused_component_props: Option<Severity>,
pub unused_component_emits: Option<Severity>,
pub unused_component_inputs: Option<Severity>,
pub unused_component_outputs: Option<Severity>,
pub unused_svelte_events: Option<Severity>,
pub unused_server_actions: Option<Severity>,
pub unused_load_data_keys: Option<Severity>,
pub prop_drilling: Option<Severity>,
pub thin_wrapper: Option<Severity>,
pub duplicate_prop_shape: Option<Severity>,
pub css_token_drift: Option<Severity>,
pub css_duplicate_block: Option<Severity>,
pub css_selector_complexity: Option<Severity>,
pub css_dead_surface: Option<Severity>,
pub css_broken_reference: Option<Severity>,
pub unresolved_imports: Option<Severity>,
pub unlisted_dependencies: Option<Severity>,
pub duplicate_exports: Option<Severity>,
pub type_only_dependencies: Option<Severity>,
pub test_only_dependencies: Option<Severity>,
pub dev_dependencies_in_production: Option<Severity>,
pub circular_dependencies: Option<Severity>,
pub re_export_cycle: Option<Severity>,
pub boundary_violation: Option<Severity>,
pub coverage_gaps: Option<Severity>,
pub feature_flags: Option<Severity>,
pub stale_suppressions: Option<Severity>,
pub require_suppression_reason: Option<Severity>,
pub unused_catalog_entries: Option<Severity>,
pub empty_catalog_groups: Option<Severity>,
pub unresolved_catalog_references: Option<Severity>,
pub unused_dependency_overrides: Option<Severity>,
pub misconfigured_dependency_overrides: Option<Severity>,
pub security_client_server_leak: Option<Severity>,
pub security_sink: Option<Severity>,
pub policy_violation: Option<Severity>,
pub invalid_client_export: Option<Severity>,
pub mixed_client_server_barrel: Option<Severity>,
pub misplaced_directive: Option<Severity>,
pub route_collision: Option<Severity>,
pub dynamic_segment_name_conflict: Option<Severity>,
}Expand description
Partial per-issue-type severity for overrides. All fields optional.
Fields§
§unused_files: Option<Severity>Optional override for RulesConfig::unused_files.
unused_exports: Option<Severity>Optional override for RulesConfig::unused_exports.
unused_types: Option<Severity>Optional override for RulesConfig::unused_types.
private_type_leaks: Option<Severity>Optional override for RulesConfig::private_type_leaks.
unused_dependencies: Option<Severity>Optional override for RulesConfig::unused_dependencies.
unused_dev_dependencies: Option<Severity>Optional override for RulesConfig::unused_dev_dependencies.
unused_optional_dependencies: Option<Severity>Optional override for RulesConfig::unused_optional_dependencies.
unused_enum_members: Option<Severity>Optional override for RulesConfig::unused_enum_members.
unused_class_members: Option<Severity>Optional override for RulesConfig::unused_class_members.
unused_store_members: Option<Severity>Optional override for RulesConfig::unused_store_members.
unprovided_injects: Option<Severity>Optional override for RulesConfig::unprovided_injects.
unrendered_components: Option<Severity>Optional override for RulesConfig::unrendered_components.
unused_component_props: Option<Severity>Optional override for RulesConfig::unused_component_props.
unused_component_emits: Option<Severity>Optional override for RulesConfig::unused_component_emits.
unused_component_inputs: Option<Severity>Optional override for RulesConfig::unused_component_inputs.
unused_component_outputs: Option<Severity>Optional override for RulesConfig::unused_component_outputs.
unused_svelte_events: Option<Severity>Optional override for RulesConfig::unused_svelte_events.
unused_server_actions: Option<Severity>Optional override for RulesConfig::unused_server_actions.
unused_load_data_keys: Option<Severity>Optional override for RulesConfig::unused_load_data_keys.
prop_drilling: Option<Severity>Optional override for RulesConfig::prop_drilling.
thin_wrapper: Option<Severity>Optional override for RulesConfig::thin_wrapper.
duplicate_prop_shape: Option<Severity>Optional override for RulesConfig::duplicate_prop_shape.
css_token_drift: Option<Severity>Optional override for RulesConfig::css_token_drift.
css_duplicate_block: Option<Severity>Optional override for RulesConfig::css_duplicate_block.
css_selector_complexity: Option<Severity>Optional override for RulesConfig::css_selector_complexity.
css_dead_surface: Option<Severity>Optional override for RulesConfig::css_dead_surface.
css_broken_reference: Option<Severity>Optional override for RulesConfig::css_broken_reference.
unresolved_imports: Option<Severity>Optional override for RulesConfig::unresolved_imports.
unlisted_dependencies: Option<Severity>Optional override for RulesConfig::unlisted_dependencies.
duplicate_exports: Option<Severity>Optional override for RulesConfig::duplicate_exports.
type_only_dependencies: Option<Severity>Optional override for RulesConfig::type_only_dependencies.
test_only_dependencies: Option<Severity>Optional override for RulesConfig::test_only_dependencies.
dev_dependencies_in_production: Option<Severity>Optional override for RulesConfig::dev_dependencies_in_production.
circular_dependencies: Option<Severity>Optional override for RulesConfig::circular_dependencies.
re_export_cycle: Option<Severity>Optional override for RulesConfig::re_export_cycle.
boundary_violation: Option<Severity>Optional override for RulesConfig::boundary_violation.
coverage_gaps: Option<Severity>Optional override for RulesConfig::coverage_gaps.
feature_flags: Option<Severity>Optional override for RulesConfig::feature_flags.
stale_suppressions: Option<Severity>Optional override for RulesConfig::stale_suppressions.
require_suppression_reason: Option<Severity>Optional override for RulesConfig::require_suppression_reason.
unused_catalog_entries: Option<Severity>Optional override for RulesConfig::unused_catalog_entries.
empty_catalog_groups: Option<Severity>Optional override for RulesConfig::empty_catalog_groups.
unresolved_catalog_references: Option<Severity>Optional override for RulesConfig::unresolved_catalog_references.
unused_dependency_overrides: Option<Severity>Optional override for RulesConfig::unused_dependency_overrides.
misconfigured_dependency_overrides: Option<Severity>Optional override for RulesConfig::misconfigured_dependency_overrides.
security_client_server_leak: Option<Severity>Optional override for RulesConfig::security_client_server_leak.
security_sink: Option<Severity>Optional override for RulesConfig::security_sink.
policy_violation: Option<Severity>Optional override for RulesConfig::policy_violation.
invalid_client_export: Option<Severity>Optional override for RulesConfig::invalid_client_export.
mixed_client_server_barrel: Option<Severity>Optional override for RulesConfig::mixed_client_server_barrel.
misplaced_directive: Option<Severity>Optional override for RulesConfig::misplaced_directive.
route_collision: Option<Severity>Optional override for RulesConfig::route_collision.
dynamic_segment_name_conflict: Option<Severity>Optional override for RulesConfig::dynamic_segment_name_conflict.
Trait Implementations§
Source§impl Clone for PartialRulesConfig
impl Clone for PartialRulesConfig
Source§fn clone(&self) -> PartialRulesConfig
fn clone(&self) -> PartialRulesConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PartialRulesConfig
impl Debug for PartialRulesConfig
Source§impl Default for PartialRulesConfig
impl Default for PartialRulesConfig
Source§fn default() -> PartialRulesConfig
fn default() -> PartialRulesConfig
Source§impl<'de> Deserialize<'de> for PartialRulesConfig
impl<'de> Deserialize<'de> for PartialRulesConfig
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>,
Source§impl JsonSchema for PartialRulesConfig
impl JsonSchema for PartialRulesConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for PartialRulesConfig
impl RefUnwindSafe for PartialRulesConfig
impl Send for PartialRulesConfig
impl Sync for PartialRulesConfig
impl Unpin for PartialRulesConfig
impl UnsafeUnpin for PartialRulesConfig
impl UnwindSafe for PartialRulesConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<D> OwoColorize for D
impl<D> OwoColorize for D
Source§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Source§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Source§fn black(&self) -> FgColorDisplay<'_, Black, Self>
fn black(&self) -> FgColorDisplay<'_, Black, Self>
Source§fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
fn on_black(&self) -> BgColorDisplay<'_, Black, Self>
Source§fn red(&self) -> FgColorDisplay<'_, Red, Self>
fn red(&self) -> FgColorDisplay<'_, Red, Self>
Source§fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
fn on_red(&self) -> BgColorDisplay<'_, Red, Self>
Source§fn green(&self) -> FgColorDisplay<'_, Green, Self>
fn green(&self) -> FgColorDisplay<'_, Green, Self>
Source§fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
fn on_green(&self) -> BgColorDisplay<'_, Green, Self>
Source§fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>
Source§fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>
Source§fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
fn blue(&self) -> FgColorDisplay<'_, Blue, Self>
Source§fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>
Source§fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>
Source§fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>
Source§fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>
Source§fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>
Source§fn white(&self) -> FgColorDisplay<'_, White, Self>
fn white(&self) -> FgColorDisplay<'_, White, Self>
Source§fn on_white(&self) -> BgColorDisplay<'_, White, Self>
fn on_white(&self) -> BgColorDisplay<'_, White, Self>
Source§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Source§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Source§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Source§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Source§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Source§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Source§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Source§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Source§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Source§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Source§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Source§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Source§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Source§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Source§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Source§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Source§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Source§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Source§fn bold(&self) -> BoldDisplay<'_, Self>
fn bold(&self) -> BoldDisplay<'_, Self>
Source§fn dimmed(&self) -> DimDisplay<'_, Self>
fn dimmed(&self) -> DimDisplay<'_, Self>
Source§fn italic(&self) -> ItalicDisplay<'_, Self>
fn italic(&self) -> ItalicDisplay<'_, Self>
Source§fn underline(&self) -> UnderlineDisplay<'_, Self>
fn underline(&self) -> UnderlineDisplay<'_, Self>
Source§fn blink(&self) -> BlinkDisplay<'_, Self>
fn blink(&self) -> BlinkDisplay<'_, Self>
Source§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Source§fn reversed(&self) -> ReversedDisplay<'_, Self>
fn reversed(&self) -> ReversedDisplay<'_, Self>
Source§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
Source§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::fg or
a color-specific method, such as OwoColorize::green, Read moreSource§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
OwoColorize::bg or
a color-specific method, such as OwoColorize::on_yellow, Read more