Skip to content

Pulling feat/strains-catalog into develop #737

Pulling feat/strains-catalog into develop

Pulling feat/strains-catalog into develop #737

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

12 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 11 in packages/ui-dsc/src/CatalogTableDisplay.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/CatalogTableDisplay.tsx#L11

[import/no-cycle] Dependency cycle via @dictybase/ui-dsc:6

Check failure on line 123 in packages/ui-dsc/src/CatalogTableDisplay.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/CatalogTableDisplay.tsx#L123

[react-hooks/rules-of-hooks] React Hook "useStyles" is called in function "rowFunction" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use".

Check failure on line 11 in packages/ui-dsc/src/__tests__/CatalogTableDisplay.test.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/__tests__/CatalogTableDisplay.test.tsx#L11

[import/order] `react` import should occur before import of `../CatalogTableDisplay`

Check failure on line 19 in packages/ui-dsc/src/__tests__/CatalogTableDisplay.test.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/__tests__/CatalogTableDisplay.test.tsx#L19

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

Check failure on line 64 in packages/ui-dsc/src/__tests__/CatalogTableDisplay.test.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/__tests__/CatalogTableDisplay.test.tsx#L64

[react/jsx-curly-brace-presence] Curly braces are unnecessary here.

Check failure on line 17 in packages/ui-dsc/src/catalog/StrainDetailsCard.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/catalog/StrainDetailsCard.tsx#L17

[import/no-cycle] Dependency cycle via stock-catalog-list/src/components/AvailableDisplay:9=>@dictybase/ui-dsc:11=>./catalog/StrainDetailsContainer:37

Check failure on line 9 in packages/ui-dsc/src/catalog/StrainDetailsCardHeader.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/catalog/StrainDetailsCardHeader.tsx#L9

[import/no-cycle] Dependency cycle via @dictybase/ui-dsc:11=>./catalog/StrainDetailsContainer:37=>./StrainDetailsCard:9

Check failure on line 9 in packages/ui-dsc/src/catalog/StrainDetailsContainer.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/catalog/StrainDetailsContainer.tsx#L9

[import/no-cycle] Dependency cycle via ./StrainDetailsCardHeader:17=>stock-catalog-list/src/components/AvailableDisplay:9=>@dictybase/ui-dsc:11

Check failure on line 12 in packages/ui-dsc/src/catalog/UnavailableButton.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/catalog/UnavailableButton.tsx#L12

[unicorn/prevent-abbreviations] The variable `Props` should be named `Properties`. A more descriptive name will do too.

Check failure on line 42 in packages/ui-dsc/src/catalog/UnavailableButton.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/catalog/UnavailableButton.tsx#L42

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

Check failure on line 3 in packages/ui-dsc/src/index.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/index.ts#L3

[import/no-cycle] Dependency cycle via stock-catalog-list/src/components/AddToCartButtonHandler:11

Check failure on line 37 in packages/ui-dsc/src/index.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

packages/ui-dsc/src/index.ts#L37

[import/no-cycle] Dependency cycle via ./StrainDetailsCard:9=>./StrainDetailsCardHeader:17=>stock-catalog-list/src/components/AvailableDisplay:9