Skip to content

Add data attributes to FacetItem component #806

Add data attributes to FacetItem component

Add data attributes to FacetItem component #806

Triggered via pull request February 25, 2025 17:53
Status Failure
Total duration 1m 12s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
Lint: react/components/FacetItem.js#L7
There should be at least one empty line between import groups
Lint: react/components/FacetItem.js#L11
There should be at least one empty line between import groups
Lint: react/components/FacetItem.js#L12
`vtex.render-runtime` import should occur before import of `../utils/filterManipulationPixelEvents`
Lint: react/components/FacetItem.js#L110
Delete `····`
Lint: react/components/FacetItem.js#L130
It's not necessary to initialize 'initialquery' to undefined
Lint: react/components/FacetItem.js#L130
Delete `;`
Lint: react/components/FacetItem.js#L131
It's not necessary to initialize 'initialmap' to undefined
Lint: react/components/FacetItem.js#L131
Delete `;`
Lint: react/components/FacetItem.js#L133
Replace `(searchQuery?.variables?.fullText·===·undefined)` with `·(searchQuery?.variables?.fullText·===·undefined)·`
Lint: react/components/FacetItem.js#L134
Replace `·runtimeQuery?.initialQuery·??·searchQuery?.facets?.queryArgs.query;` with `⏎······runtimeQuery?.initialQuery·??·searchQuery?.facets?.queryArgs.query`
Lint
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
IO app test
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
IO app test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Lint: react/GalleryLegacy.tsx#L40
Unexpected any. Specify a different type
Lint: react/GalleryLegacy.tsx#L41
Unexpected any. Specify a different type
Lint: react/components/GalleryItem.tsx#L18
Unexpected any. Specify a different type
Lint: react/components/GalleryLayoutItem.tsx#L11
Unexpected any. Specify a different type
Lint: react/components/GalleryRow.tsx#L20
Unexpected any. Specify a different type
Lint: react/components/SearchQuery.js#L103
Arrow function has too many parameters (4). Maximum allowed is 3
Lint: react/components/SearchQuery.js#L132
Arrow function has too many parameters (4). Maximum allowed is 3
Lint: react/components/SearchResultCustomQueryWrapper.tsx#L29
Unexpected any. Specify a different type
Lint: react/components/SearchResultCustomQueryWrapper.tsx#L126
Unexpected any. Specify a different type
Lint: react/components/loaders/FetchMoreButton.js#L14
Arrow function has too many parameters (4). Maximum allowed is 3
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/