[OUR415-313] Adds prop/slot for the "Clear Search" button in the SearchResults
component
#546
Annotations
1 error and 12 warnings
Run npm run test
Process completed with exit code 1.
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run npm run lint:
app/App.tsx#L7
'useNavigate' is defined but never used
|
Run npm run lint:
app/components/EmailSignup/Emailsignup.tsx#L10
Script URL is a form of eval
|
Run npm run lint:
app/components/ui/SiteSearchInput.tsx#L2
'cn' is defined but never used
|
Run npm run lint:
app/hooks/StrapiAPI.ts#L123
'CategoryResponse' is defined but never used
|
Run npm run lint:
app/hooks/StrapiAPI.ts#L206
'AddressResponse' is defined but never used
|
Run npm run lint:
app/pages/SearchResultsPage/SearchResultsPage.tsx#L4
'Header' is defined but never used
|
Run npm run lint:
test/helpers/createSearchClient.ts#L2
Unexpected any. Specify a different type
|
Run npm run lint:
test/helpers/createSearchClient.ts#L35
Unexpected any. Specify a different type
|
Run npm run lint:
test/jest/__mocks__/fileMock.ts#L3
Assign literal to a variable before exporting as module default
|
Loading