Skip to content

fix: eslint error

fix: eslint error #21

Triggered via push August 1, 2024 21:45
Status Success
Total duration 1m 0s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
format
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: apps/nextjs/src/app/(home)/action-guides/_components/GuideCard.tsx#L25
The 'actionGuides' array makes the dependencies of useMemo Hook (at line 65) change on every render. To fix this, wrap the initialization of 'actionGuides' in its own useMemo() Hook
lint: apps/nextjs/src/app/(home)/action-guides/_components/GuideCard.tsx#L52
React Hook useMemo has a missing dependency: 'actionGuides'. Either include it or remove the dependency array
typecheck
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/