Make block to respect the Redirect to Cart setting (#11151) #21689
ESLint Report Analysis
0 ESLint error(s) and 14 ESLint warning(s) found
Details
Annotations
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 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/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
Check warning on line 99 in tests/e2e-jest/specs/shopper/cart-checkout/translations.test.js
github-actions / ESLint Report Analysis
tests/e2e-jest/specs/shopper/cart-checkout/translations.test.js#L13-L99
[jest/no-disabled-tests] Skipped test suite
Check warning on line 54 in tests/e2e-jest/specs/shopper/cart-checkout/translations.test.js
github-actions / ESLint Report Analysis
tests/e2e-jest/specs/shopper/cart-checkout/translations.test.js#L23-L54
[jest/no-disabled-tests] Skipped test
Check warning on line 98 in tests/e2e-jest/specs/shopper/cart-checkout/translations.test.js
github-actions / ESLint Report Analysis
tests/e2e-jest/specs/shopper/cart-checkout/translations.test.js#L56-L98
[jest/no-disabled-tests] Skipped test
Check warning on line 557 in tests/e2e-jest/specs/shopper/mini-cart.test.js
github-actions / ESLint Report Analysis
tests/e2e-jest/specs/shopper/mini-cart.test.js#L546-L557
[jest/no-disabled-tests] Skipped test
Check warning on line 589 in tests/e2e-jest/specs/shopper/mini-cart.test.js
github-actions / ESLint Report Analysis
tests/e2e-jest/specs/shopper/mini-cart.test.js#L578-L589
[jest/no-disabled-tests] Skipped test