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

Add notice for outdated docs in Woo Blocks repo (#12136) #23899

Add notice for outdated docs in Woo Blocks repo (#12136)

Add notice for outdated docs in Woo Blocks repo (#12136) #23899

Triggered via push December 20, 2023 14:00
Status Success
Total duration 2m 11s
Artifacts
PHP coding standards
1m 18s
PHP coding standards
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
assets/js/atomic/blocks/product-elements/button/frontend.tsx#L115
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
assets/js/atomic/blocks/product-elements/button/frontend.tsx#L121
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
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.
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.
assets/js/base/context/providers/cart-checkout/checkout-processor.ts#L318
[react-hooks/exhaustive-deps] React Hook useCallback has a missing dependency: 'customerId'. Either include it or remove the dependency array.
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.
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.
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.
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'.
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'.
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.
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