Skip to content

422 align UI of berlin comments page #399

422 align UI of berlin comments page

422 align UI of berlin comments page #399

Triggered via pull request May 3, 2024 12:33
Status Failure
Total duration 31s
Artifacts

lint.yml

on: pull_request
Check linting
22s
Check linting
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 7 warnings
Check linting: packages/berlin/src/pages/Comments.tsx#L165
'sortedComments2' is assigned a value but never used. Allowed unused vars must match /^_ignored/u
Check linting
Process completed with exit code 1.
Check linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check linting: packages/berlin/src/components/comment-card/CommentCard.tsx#L60
React Hook useEffect has a missing dependency: 'user?.id'. Either include it or remove the dependency array
Check linting: packages/berlin/src/pages/Comments.tsx#L177
React Hook useMemo has missing dependencies: 'comments' and 'sorting'. Either include them or remove the dependency array
Check linting: packages/berlin/src/pages/Cycle.tsx#L104
React Hook useEffect has a missing dependency: 'updateVotesAndHearts'. Either include it or remove the dependency array
Check linting: packages/berlin/src/pages/Results.tsx#L25
The following dependencies are missing in your queryKey: cycle?.forumQuestions[0].id
Check linting: packages/core/src/pages/Results.tsx#L69
The following dependencies are missing in your queryKey: cycle?.forumQuestions[0].id
Check linting: packages/ui/src/components/ui/button.tsx#L50
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components