Skip to content

feat: fix linting rules #6

feat: fix linting rules

feat: fix linting rules #6

Triggered via push July 18, 2024 10:23
Status Failure
Total duration 1m 45s
Billable time 4m
Artifacts

quality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
Prettier
Process completed with exit code 1.
Prettier
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ESLint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ESLint: packages/react/src/use-assistant.ts#L82
React Hook useEffect has a missing dependency: 'localStorageName'. Either include it or remove the dependency array
ESLint: packages/react/src/use-assistant.ts#L92
React Hook useEffect has missing dependencies: 'currentThreadId' and 'localStorageName'. Either include them or remove the dependency array
ESLint: packages/ui/components/chat-message.tsx#L74
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
ESLint: packages/ui/components/chat.tsx#L170
React Hook useEffect has missing dependencies: 'defaultMessage', 'handleInputChange', and 'input'. Either include them or remove the dependency array
TypeScript
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/