Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
style: fix linting errors for biome check
Raj Tiwarif4e10b28cc23
diff --git a/src/components/ui/accordion.tsx b/src/components/ui/accordion.tsxindex 85336fded..22456b252 100644--- a/src/components/ui/accordion.tsx+++ b/src/components/ui/accordion.tsx@@ -52,4 +52,4 @@ const AccordionContent = React.forwardRef<));AccordionContent.displayName = AccordionPrimitive.Content.displayName;-export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };+export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };diff --git a/src/components/ui/card.tsx b/src/components/ui/card.tsxindex 2935ed463..048076444 100644--- a/src/components/ui/card.tsx+++ b/src/components/ui/card.tsx@@ -52,4 +52,4 @@ const CardFooter = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDiv);CardFooter.displayName = "CardFooter";-export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent };+export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsxindex 0c3efbb27..319cd8ee6 100644--- a/src/components/ui/dialog.tsx+++ b/src/components/ui/dialog.tsx@@ -90,13 +90,13 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName;export {Dialog,- DialogPortal,- DialogOverlay,- DialogTrigger,DialogClose,DialogContent,- DialogHeader,+ DialogDescription,DialogFooter,+ DialogHeader,+ DialogOverlay,+ DialogPortal,DialogTitle,- DialogDescription,+ DialogTrigger,};diff --git a/src/components/ui/dropdown-menu.tsx b/src/components/ui/dropdown-menu.tsxindex c15187de2..d158cf26b 100644--- a/src/components/ui/dropdown-menu.tsx+++ b/src/components/ui/dropdown-menu.tsx@@ -169,18 +169,18 @@ DropdownMenuShortcut.displayName = "DropdownMenuShortcut";export {DropdownMenu,- DropdownMenuTrigger,+ DropdownMenuCheckboxItem,DropdownMenuContent,+ DropdownMenuGroup,DropdownMenuItem,- DropdownMenuCheckboxItem,- DropdownMenuRadioItem,DropdownMenuLabel,+ DropdownMenuPortal,+ DropdownMenuRadioGroup,+ DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,- DropdownMenuGroup,- DropdownMenuPortal,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,- DropdownMenuRadioGroup,+ DropdownMenuTrigger,};diff --git a/src/components/ui/popover.tsx b/src/components/ui/popover.tsxindex 8d7239080..9341c8d3e 100644--- a/src/components/ui/popover.tsx+++ b/src/components/ui/popover.tsx@@ -57,4 +57,4 @@ function PopoverArrow({);}-export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, PopoverArrow };+export { Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger };diff --git a/src/components/ui/select.tsx b/src/components/ui/select.tsxindex 53e21e620..ebd63ffb8 100644--- a/src/components/ui/select.tsx+++ b/src/components/ui/select.tsx@@ -141,13 +141,13 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;export {Select,- SelectGroup,- SelectValue,- SelectTrigger,SelectContent,- SelectLabel,+ SelectGroup,SelectItem,- SelectSeparator,- SelectScrollUpButton,+ SelectLabel,SelectScrollDownButton,+ SelectScrollUpButton,+ SelectSeparator,+ SelectTrigger,+ SelectValue,};diff --git a/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsxindex dbee684c5..95e346a85 100644--- a/src/components/ui/tabs.tsx+++ b/src/components/ui/tabs.tsx@@ -50,4 +50,4 @@ const TabsContent = React.forwardRef<));TabsContent.displayName = TabsPrimitive.Content.displayName;-export { Tabs, TabsList, TabsTrigger, TabsContent };+export { Tabs, TabsContent, TabsList, TabsTrigger };diff --git a/src/components/ui/tooltip.tsx b/src/components/ui/tooltip.tsxindex bd6687b54..c5dfc12b5 100644--- a/src/components/ui/tooltip.tsx+++ b/src/components/ui/tooltip.tsx@@ -67,4 +67,4 @@ function Tooltip({);}-export { TooltipProvider, TooltipRoot, TooltipTrigger, TooltipContent, Tooltip };+export { Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger };diff --git a/src/components/video-editor/VideoPlayback.tsx b/src/components/video-editor/VideoPlayback.tsxindex f52c76638..48d36318b 100644--- a/src/components/video-editor/VideoPlayback.tsx+++ b/src/components/video-editor/VideoPlayback.tsx@@ -1083,7 +1083,12 @@ const VideoPlayback = forwardRef<VideoPlaybackRef, VideoPlaybackProps>(const isMotionBlurActive = (motionBlurAmountRef.current || 0) > 0 && isPlayingRef.current;- if (isMotionBlurActive && blurFilterRef.current && motionBlurFilterRef.current && videoContainerRef.current) {+ if (+ isMotionBlurActive &&+ blurFilterRef.current &&+ motionBlurFilterRef.current &&+ videoContainerRef.current+ ) {videoContainerRef.current.filters = [blurFilterRef.current, motionBlurFilterRef.current];} else if (videoContainerRef.current) {videoContainerRef.current.filters = null;diff --git a/tsconfig.node.json b/tsconfig.node.jsonindex 1caabefce..3be14b63d 100644--- a/tsconfig.node.json+++ b/tsconfig.node.json@@ -7,5 +7,10 @@"allowSyntheticDefaultImports": true,"strict": true},- "include": ["vite.config.ts"]+ "include": [+ "vite.config.ts",+ "electron-builder.json5",+ "playwright.config.ts",+ "vitest.config.ts"+ ]}diff --git a/vite.config.ts b/vite.config.tsindex 9a447665a..5d014d4ba 100644--- a/vite.config.ts+++ b/vite.config.ts@@ -9,25 +9,15 @@ export default defineConfig({react(),electron({main: {- // Shortcut of `build.lib.entry`.entry: "electron/main.ts",vite: {build: {},},},preload: {- // Shortcut of `build.rollupOptions.input`.- // Preload scripts may contain Web assets, so use the `build.rollupOptions.input` instead `build.lib.entry`.input: path.join(__dirname, "electron/preload.ts"),},- // Ployfill the Electron and Node.js API for Renderer process.- // If you want use Node.js in Renderer process, the `nodeIntegration` needs to be enabled in the Main process.- // See https://github.com/electron-vite/vite-plugin-electron-renderer- renderer:- process.env.NODE_ENV === "test"- ? // https://github.com/electron-vite/vite-plugin-electron-renderer/issues/78#issuecomment-2053600808- undefined- : {},+ renderer: process.env.NODE_ENV === "test" ? undefined : {},}),],resolve: {