pub struct BaselineData {Show 41 fields
pub unused_files: Vec<String>,
pub unused_exports: Vec<String>,
pub unused_types: Vec<String>,
pub private_type_leaks: Vec<String>,
pub unused_dependencies: Vec<String>,
pub unused_dev_dependencies: Vec<String>,
pub circular_dependencies: Vec<String>,
pub re_export_cycles: Vec<String>,
pub unused_optional_dependencies: Vec<String>,
pub unused_enum_members: Vec<String>,
pub unused_class_members: Vec<String>,
pub unused_store_members: Vec<String>,
pub unprovided_injects: Vec<String>,
pub unrendered_components: Vec<String>,
pub unused_component_props: Vec<String>,
pub unused_component_emits: Vec<String>,
pub unused_component_inputs: Vec<String>,
pub unused_component_outputs: Vec<String>,
pub unused_svelte_events: Vec<String>,
pub unused_server_actions: Vec<String>,
pub unused_load_data_keys: Vec<String>,
pub unresolved_imports: Vec<String>,
pub unlisted_dependencies: Vec<String>,
pub duplicate_exports: Vec<String>,
pub type_only_dependencies: Vec<String>,
pub test_only_dependencies: Vec<String>,
pub boundary_violations: Vec<String>,
pub boundary_coverage_violations: Vec<String>,
pub boundary_call_violations: Vec<String>,
pub policy_violations: Vec<String>,
pub stale_suppressions: Vec<String>,
pub unused_catalog_entries: Vec<String>,
pub empty_catalog_groups: Vec<String>,
pub unresolved_catalog_references: Vec<String>,
pub unused_dependency_overrides: Vec<String>,
pub misconfigured_dependency_overrides: Vec<String>,
pub invalid_client_exports: Vec<String>,
pub mixed_client_server_barrels: Vec<String>,
pub misplaced_directives: Vec<String>,
pub route_collisions: Vec<String>,
pub dynamic_segment_name_conflicts: Vec<String>,
}Expand description
Baseline data for comparison.
Fields§
§unused_files: Vec<String>§unused_exports: Vec<String>§unused_types: Vec<String>§private_type_leaks: Vec<String>§unused_dependencies: Vec<String>Unused dependencies, keyed by package.json:package_name. Legacy
bare package_name keys are still matched for back-compat with
baselines saved by older fallow versions.
unused_dev_dependencies: Vec<String>Unused dev dependencies, keyed by package.json:package_name. Legacy
bare package_name keys are still matched for back-compat with
baselines saved by older fallow versions.
circular_dependencies: Vec<String>Circular dependency chains, keyed by sorted file paths joined with ->.
re_export_cycles: Vec<String>Re-export cycles, keyed by kind:sorted_file_paths_joined_with_<->
(where kind is multi-node or self-loop). The kind prefix keeps
self-loops from keyspace-colliding with future single-file multi-node
shapes.
unused_optional_dependencies: Vec<String>Unused optional dependencies, keyed by package.json:package_name.
Legacy bare package_name keys are still matched for back-compat
with baselines saved by older fallow versions.
unused_enum_members: Vec<String>Unused enum members, keyed by file:parent.member.
unused_class_members: Vec<String>Unused class members, keyed by file:parent.member.
unused_store_members: Vec<String>Unused store members, keyed by file:parent.member.
unprovided_injects: Vec<String>Unprovided injects, keyed by file:key_name.
unrendered_components: Vec<String>Unrendered components, keyed by file:component_name.
unused_component_props: Vec<String>Unused component props, keyed by file:prop_name.
unused_component_emits: Vec<String>Unused component emits, keyed by file:emit_name.
unused_component_inputs: Vec<String>Unused component inputs, keyed by file:input_name.
unused_component_outputs: Vec<String>Unused component outputs, keyed by file:output_name.
unused_svelte_events: Vec<String>Unused Svelte dispatched events, keyed by file:event_name.
unused_server_actions: Vec<String>Unused server actions, keyed by file:action_name.
unused_load_data_keys: Vec<String>Unused SvelteKit load() data keys, keyed by file:key_name.
unresolved_imports: Vec<String>Unresolved imports, keyed by file:specifier.
unlisted_dependencies: Vec<String>Unlisted dependencies, keyed by package name.
duplicate_exports: Vec<String>Duplicate exports, keyed by export name.
type_only_dependencies: Vec<String>Type-only dependencies, keyed by package.json:package_name. Legacy
bare package_name keys are still matched for back-compat with
baselines saved by older fallow versions.
test_only_dependencies: Vec<String>Test-only dependencies, keyed by package.json:package_name. Legacy
bare package_name keys are still matched for back-compat with
baselines saved by older fallow versions.
boundary_violations: Vec<String>Boundary violations, keyed by from_path->to_path.
boundary_coverage_violations: Vec<String>Boundary coverage violations, keyed by path.
boundary_call_violations: Vec<String>Boundary call violations, keyed by path:callee.
policy_violations: Vec<String>Rule-pack policy violations, keyed by path:pack/rule_id:matched.
stale_suppressions: Vec<String>Stale suppressions, keyed by file:line.
unused_catalog_entries: Vec<String>Unused pnpm catalog entries, keyed by catalog_name:entry_name.
empty_catalog_groups: Vec<String>Empty pnpm catalog groups, keyed by catalog_name.
unresolved_catalog_references: Vec<String>Unresolved catalog references, keyed by path:line:catalog_name:entry_name.
unused_dependency_overrides: Vec<String>Unused pnpm dependency overrides, keyed by source:raw_key.
misconfigured_dependency_overrides: Vec<String>Misconfigured pnpm dependency overrides, keyed by source:raw_key.
invalid_client_exports: Vec<String>Invalid "use client" exports, keyed by path:export_name.
mixed_client_server_barrels: Vec<String>Mixed client/server barrels, keyed by path:client_origin:server_origin.
misplaced_directives: Vec<String>Misplaced "use client" / "use server" directives, keyed by
path:line:directive.
route_collisions: Vec<String>Next.js route collisions, keyed by path:url.
dynamic_segment_name_conflicts: Vec<String>Next.js dynamic-segment name conflicts, keyed by path:position.
Implementations§
Source§impl BaselineData
impl BaselineData
pub fn from_results(results: &AnalysisResults, root: &Path) -> Self
Sourcepub fn total_entries(&self) -> usize
pub fn total_entries(&self) -> usize
Total number of entries across all categories.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BaselineData
impl<'de> Deserialize<'de> for BaselineData
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>,
Auto Trait Implementations§
impl Freeze for BaselineData
impl RefUnwindSafe for BaselineData
impl Send for BaselineData
impl Sync for BaselineData
impl Unpin for BaselineData
impl UnsafeUnpin for BaselineData
impl UnwindSafe for BaselineData
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
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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