Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(desktop): fix lint errors and relax unused-vars rule

Jiang Bohan2cf13511b7c2
diff --git a/apps/desktop/.eslintrc.cjs b/apps/desktop/.eslintrc.cjs
index 7dbd9d18b2..527508b11a 100644
--- a/apps/desktop/.eslintrc.cjs
+++ b/apps/desktop/.eslintrc.cjs
@@ -14,5 +14,6 @@ module.exports = {
'warn',
{ allowConstantExport: true },
],
+ '@typescript-eslint/no-unused-vars': 'warn',
},
}
diff --git a/apps/desktop/electron/ipc/hub.ts b/apps/desktop/electron/ipc/hub.ts
index 6412cf9725..75d1f1b66f 100644
--- a/apps/desktop/electron/ipc/hub.ts
+++ b/apps/desktop/electron/ipc/hub.ts
@@ -8,7 +8,6 @@ import { ipcMain, type BrowserWindow } from 'electron'
import { Hub } from '../../../../src/hub/hub.js'
import type { ConnectionState } from '@multica/sdk'
import type { AsyncAgent } from '../../../../src/agent/async-agent.js'
-import type { AgentEvent } from '@mariozechner/pi-agent-core'
/**
* Extract plain text from AgentMessage content (string or content block array).