Remove placeholder image rendering as it's covered in Core function g… #21979
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
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
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
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
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
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
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
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.
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
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
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
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
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