Skip to content

Implemented a reusable breadcrumb component #464

Implemented a reusable breadcrumb component

Implemented a reusable breadcrumb component #464

Triggered via pull request July 22, 2024 13:41
Status Failure
Total duration 33s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
eslint: app/components/Breadcrumb/Breadcrumb.tsx#L10
The variable `BreadcrumbProps` should be named `BreadcrumbProperties`. A more descriptive name will do too
eslint: app/components/Breadcrumb/Breadcrumb.tsx#L25
Replace `flex·items-center·mx-2` with `mx-2·flex·items-center`
eslint: app/components/Breadcrumb/BreadcrumbItem.tsx#L1
Replace `React·from·"` with `{·Link·}·from·"@remix-run/`
eslint: app/components/Breadcrumb/BreadcrumbItem.tsx#L2
Replace `{·Link·}·from·"@remix-run/` with `React·from·"`
eslint: app/components/Breadcrumb/BreadcrumbItem.tsx#L4
The variable `BreadcrumbItemProps` should be named `BreadcrumbItemProperties`. A more descriptive name will do too
eslint: app/components/Breadcrumb/BreadcrumbProvider.tsx#L1
Replace `import·React·from·"react";⏎import·{·useLocation·}·from·"@remix-run/react";` with `import·{·useLocation·}·from·"@remix-run/react";⏎import·React·from·"react";⏎`
eslint: app/components/Breadcrumb/BreadcrumbProvider.tsx#L7
arrow function is equivalent to `Boolean`. Use `Boolean` directly
eslint
Process completed with exit code 1.