Skip to content

Pulling feat/strains-catalog into develop #736

Pulling feat/strains-catalog into develop

Pulling feat/strains-catalog into develop #736

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / ESLint Report Analysis failed Aug 11, 2023 in 1s

ESLint Report Analysis

19 ESLint error(s) and 0 ESLint warning(s) found in pull request changed files.
0 ESLint error(s) and 0 ESLint warning(s) found in files outside of the pull request.

Details

Annotations

Check failure on line 19 in apps/stock-center/src/components/AddQuantityToCart.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/components/AddQuantityToCart.tsx#L19

[@typescript-eslint/no-unused-vars] 'addItem' is assigned a value but never used.

Check failure on line 32 in apps/stock-center/src/components/AddQuantityToCart.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/components/AddQuantityToCart.tsx#L32

[@typescript-eslint/no-unused-vars] 'event' is defined but never used.

Check failure on line 32 in apps/stock-center/src/components/AddQuantityToCart.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/components/AddQuantityToCart.tsx#L32

[unicorn/consistent-function-scoping] Move arrow function 'onClick' to the outer scope.

Check failure on line 6 in apps/stock-center/src/components/AddToCartButton.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/components/AddToCartButton.tsx#L6

[import/no-cycle] Dependency cycle via ./CatalogTableDisplay:3=>stock-catalog-list/src/components/AddToCartButtonHandler:11

Check failure on line 16 in apps/stock-center/src/components/AddToCartButton.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

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.

Check failure on line 22 in apps/stock-center/src/components/AddToCartButton.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

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.

Check failure on line 26 in apps/stock-center/src/components/AddToCartButton.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

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.

Check failure on line 75 in apps/stock-center/src/components/AddToCartButton.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/components/AddToCartButton.tsx#L75

[import/no-default-export] Prefer named exports.

Check failure on line 4 in apps/stock-center/src/components/AddToCartButtonHandler.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/components/AddToCartButtonHandler.tsx#L4

[import/no-cycle] Dependency cycle via @dictybase/ui-dsc:6=>./CatalogTableDisplay:3

Check failure on line 5 in apps/stock-center/src/components/AddToCartButtonHandler.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/components/AddToCartButtonHandler.tsx#L5

[import/order] `dicty-graphql-schema` import should occur before import of `../state`

Check failure on line 6 in apps/stock-center/src/components/AddToCartButtonHandler.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/components/AddToCartButtonHandler.tsx#L6

[import/order] `@dictybase/ui-dsc` import should occur before import of `../state`

Check failure on line 14 in apps/stock-center/src/components/AddToCartButtonHandler.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/components/AddToCartButtonHandler.tsx#L14

[prefer-destructuring] Use object destructuring.

Check failure on line 11 in apps/stock-center/src/components/AvailableDisplay.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/components/AvailableDisplay.tsx#L7-L11

[import/no-cycle] Dependency cycle via ./catalog/StrainDetailsContainer:37=>./StrainDetailsCard:9=>./StrainDetailsCardHeader:17

Check failure on line 7 in apps/stock-center/src/mocks/browser.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/mocks/browser.ts#L7

[import/no-default-export] Prefer named exports.

Check failure on line 8 in apps/stock-center/src/mocks/handlers.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/mocks/handlers.ts#L8

[@typescript-eslint/no-unused-vars] 'filter' is assigned a value but never used.

Check failure on line 14 in apps/stock-center/src/mocks/listStrainData.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/mocks/listStrainData.ts#L14

[no-console] Unexpected console statement.

Check failure on line 19 in apps/stock-center/src/mocks/listStrainData.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/mocks/listStrainData.ts#L19

[unicorn/no-useless-spread] Unnecessarily cloning an array.

Check failure on line 3 in apps/stock-center/src/pages/strains/[id].tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/pages/strains/[id].tsx#L3

[unicorn/prefer-export-from] Use `export…from` to re-export `default`.

Check failure on line 3 in apps/stock-center/src/pages/strains/[id].tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

apps/stock-center/src/pages/strains/[id].tsx#L3

[import/no-default-export] Prefer named exports.