-
Notifications
You must be signed in to change notification settings - Fork 33
chore: migrate biome version #618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
|
||
| import type { PlaybackRate } from "@livepeer/core/media"; | ||
| // biome-ignore lint/correctness/noUnusedImports: ignored using `--suppress` | ||
| import { composeEventHandlers } from "@radix-ui/primitive"; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 6 months ago
To fix the issue, the unused import composeEventHandlers should be removed from the code. This will improve code clarity and maintainability. The change involves deleting the import statement on line 5. No additional changes are required since the import is not used elsewhere in the provided code.
| @@ -4,3 +4,2 @@ | ||
| // biome-ignore lint/correctness/noUnusedImports: ignored using `--suppress` | ||
| import { composeEventHandlers } from "@radix-ui/primitive"; | ||
| import React, { useCallback } from "react"; |
|
|
||
| import { warn } from "@livepeer/core/utils"; | ||
| // biome-ignore lint/correctness/noUnusedImports: ignored using `--suppress` | ||
| import { composeEventHandlers } from "@radix-ui/primitive"; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 6 months ago
To fix the problem, the unused import composeEventHandlers should be removed from the file. This involves deleting the line where it is imported. No other changes are necessary, as the removal does not affect the functionality of the code.
| @@ -4,3 +4,2 @@ | ||
| // biome-ignore lint/correctness/noUnusedImports: ignored using `--suppress` | ||
| import { composeEventHandlers } from "@radix-ui/primitive"; | ||
| import { Presence } from "@radix-ui/react-presence"; |
leszko
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks for the fix @junhyr
There is still this Main / Security failure. Any thoughts how to solve it?

Description
Concise description of proposed changes
Additional Information