Skip to content

chore: Better typing for preload.ts #960

chore: Better typing for preload.ts

chore: Better typing for preload.ts #960

Triggered via pull request February 3, 2025 21:48
Status Success
Total duration 6m 52s
Artifacts 1

ci.yml

on: pull_request
Check Rust Code Format
13s
Check Rust Code Format
Build and Test Rust Project
5m 33s
Build and Test Rust Project
Lint Electron Desktop App
32s
Lint Electron Desktop App
bundle-desktop-unsigned  /  Bundle Desktop App on macOS
6m 41s
bundle-desktop-unsigned / Bundle Desktop App on macOS
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Lint Electron Desktop App: ui/desktop/src/App.tsx#L77
Unexpected any. Specify a different type
Lint Electron Desktop App: ui/desktop/src/ChatWindow.tsx#L13
'WingToWing' is defined but never used. Allowed unused vars must match /^_/u
Lint Electron Desktop App: ui/desktop/src/ChatWindow.tsx#L111
React Hook useEffect has missing dependencies: 'chats' and 'setChats'. Either include them or remove the dependency array. If 'setChats' changes too often, find the parent component that defines it and wrap that definition in useCallback
Lint Electron Desktop App: ui/desktop/src/ChatWindow.tsx#L119
React Hook useEffect has a missing dependency: 'append'. Either include it or remove the dependency array
Lint Electron Desktop App: ui/desktop/src/ChatWindow.tsx#L275
'currentModel' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint Electron Desktop App: ui/desktop/src/ChatWindow.tsx#L314
'working' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint Electron Desktop App: ui/desktop/src/ChatWindow.tsx#L315
'progressMessage' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint Electron Desktop App: ui/desktop/src/ChatWindow.tsx#L316
'selectedProvider' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint Electron Desktop App: ui/desktop/src/ChatWindow.tsx#L316
'setSelectedProvider' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint Electron Desktop App: ui/desktop/src/ChatWindow.tsx#L320
'toggleMode' is assigned a value but never used. Allowed unused vars must match /^_/u

Artifacts

Produced during runtime
Name Size
Goose-darwin-arm64
110 MB