Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Remove placeholder image rendering as it's covered in Core function g… #21979

Remove placeholder image rendering as it's covered in Core function g…

Remove placeholder image rendering as it's covered in Core function g… #21979

GitHub Actions / ESLint Report Analysis succeeded Dec 9, 2023 in 1s

ESLint Report Analysis

0 ESLint error(s) and 12 ESLint warning(s) found

Details

Annotations

Check warning on line 115 in assets/js/atomic/blocks/product-elements/button/frontend.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/atomic/blocks/product-elements/button/frontend.tsx#L115

[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.

Check warning on line 121 in assets/js/atomic/blocks/product-elements/button/frontend.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/atomic/blocks/product-elements/button/frontend.tsx#L121

[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.

Check warning on line 7 in assets/js/atomic/blocks/product-elements/button/index.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/atomic/blocks/product-elements/button/index.tsx#L7

[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalGetSpacingClassesAndStyles` from `@wordpress/block-editor` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.

Check warning on line 5 in assets/js/atomic/blocks/product-elements/price/supports.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/atomic/blocks/product-elements/price/supports.ts#L5

[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalGetSpacingClassesAndStyles` from `@wordpress/block-editor` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.

Check warning on line 332 in assets/js/base/context/providers/cart-checkout/checkout-processor.ts

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/base/context/providers/cart-checkout/checkout-processor.ts#L318-L332

[react-hooks/exhaustive-deps] React Hook useCallback has a missing dependency: 'customerId'. Either include it or remove the dependency array.

Check warning on line 11 in assets/js/blocks/mini-cart/edit.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/blocks/mini-cart/edit.tsx#L11

[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalToggleGroupControlOption` from `@wordpress/components` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.

Check warning on line 12 in assets/js/blocks/mini-cart/edit.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/blocks/mini-cart/edit.tsx#L12

[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalToggleGroupControl` from `@wordpress/components` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.

Check warning on line 9 in assets/js/blocks/product-collection/edit/toolbar-controls/pattern-selection-modal.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/blocks/product-collection/edit/toolbar-controls/pattern-selection-modal.tsx#L9

[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalBlockPatternsList` from `@wordpress/block-editor` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.

Check warning on line 8 in assets/js/blocks/product-query/variations/elements/product-summary.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/blocks/product-query/variations/elements/product-summary.tsx#L8

[import/no-unresolved] Unable to resolve path to module '@woocommerce/atomic-blocks/product-elements/summary/constants'.

Check warning on line 8 in assets/js/blocks/product-query/variations/elements/product-title.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/blocks/product-query/variations/elements/product-title.tsx#L8

[import/no-unresolved] Unable to resolve path to module '@woocommerce/atomic-blocks/product-elements/title/constants'.

Check warning on line 11 in assets/js/blocks/product-template/edit.tsx

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

assets/js/blocks/product-template/edit.tsx#L11

[@wordpress/no-unsafe-wp-apis] Usage of `__experimentalUseBlockPreview` from `@wordpress/block-editor` is not allowed.
See https://developer.wordpress.org/block-editor/contributors/develop/coding-guidelines/#experimental-and-unstable-apis for details.

Check warning on line 14 in tests/e2e-jest/config/jest.setup.js

See this annotation in the file changed.

@github-actions github-actions / ESLint Report Analysis

tests/e2e-jest/config/jest.setup.js#L14

[you-dont-need-lodash-underscore/get] Import { get } from 'lodash' detected. Consider using the native optional chaining to get nested values and nullish coalescing operator for fallback values