Skip to content

Pulling feat/strains-catalog into develop #736

Pulling feat/strains-catalog into develop

Pulling feat/strains-catalog into develop #736

Triggered via pull request August 11, 2023 13:54
Status Failure
Total duration 5m 27s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

pr-testing.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors
apps/stock-center/src/components/AddQuantityToCart.tsx#L19
[@typescript-eslint/no-unused-vars] 'addItem' is assigned a value but never used.
apps/stock-center/src/components/AddQuantityToCart.tsx#L32
[@typescript-eslint/no-unused-vars] 'event' is defined but never used.
apps/stock-center/src/components/AddQuantityToCart.tsx#L32
[unicorn/consistent-function-scoping] Move arrow function 'onClick' to the outer scope.
apps/stock-center/src/components/AddToCartButton.tsx#L6
[import/no-cycle] Dependency cycle via ./CatalogTableDisplay:3=>stock-catalog-list/src/components/AddToCartButtonHandler:11
apps/stock-center/src/components/AddToCartButton.tsx#L16
[unicorn/prevent-abbreviations] The variable `Props` should be named `Properties`. A more descriptive name will do too.
apps/stock-center/src/components/AddToCartButton.tsx#L22
[unicorn/prevent-abbreviations] The variable `arg0` should be named `argument0`. A more descriptive name will do too.
apps/stock-center/src/components/AddToCartButton.tsx#L26
[unicorn/prevent-abbreviations] The variable `arg0` should be named `argument0`. A more descriptive name will do too.
apps/stock-center/src/components/AddToCartButton.tsx#L75
[import/no-default-export] Prefer named exports.
apps/stock-center/src/components/AddToCartButtonHandler.tsx#L4
[import/no-cycle] Dependency cycle via @dictybase/ui-dsc:6=>./CatalogTableDisplay:3
apps/stock-center/src/components/AddToCartButtonHandler.tsx#L5
[import/order] `dicty-graphql-schema` import should occur before import of `../state`
apps/stock-center/src/components/AddToCartButtonHandler.tsx#L6
[import/order] `@dictybase/ui-dsc` import should occur before import of `../state`
apps/stock-center/src/components/AddToCartButtonHandler.tsx#L14
[prefer-destructuring] Use object destructuring.
apps/stock-center/src/components/AvailableDisplay.tsx#L7
[import/no-cycle] Dependency cycle via ./catalog/StrainDetailsContainer:37=>./StrainDetailsCard:9=>./StrainDetailsCardHeader:17
apps/stock-center/src/mocks/browser.ts#L7
[import/no-default-export] Prefer named exports.
apps/stock-center/src/mocks/handlers.ts#L8
[@typescript-eslint/no-unused-vars] 'filter' is assigned a value but never used.
apps/stock-center/src/mocks/listStrainData.ts#L14
[no-console] Unexpected console statement.
apps/stock-center/src/mocks/listStrainData.ts#L19
[unicorn/no-useless-spread] Unnecessarily cloning an array.
apps/stock-center/src/pages/strains/[id].tsx#L3
[unicorn/prefer-export-from] Use `export…from` to re-export `default`.
apps/stock-center/src/pages/strains/[id].tsx#L3
[import/no-default-export] Prefer named exports.
Unit tests
@dictybase/ui-dsc#coverage: command (/home/runner/work/frontendx/frontendx/packages/ui-dsc) yarn run coverage exited (1)
Unit tests
Process completed with exit code 1.