[PR #18] [CLOSED] Fix linter errors in backend & main process #31

Closed
opened 2026-02-16 09:17:51 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/openwork/pull/18
Author: @bwhiting2356
Created: 1/17/2026
Status: Closed

Base: mainHead: lint-fix-1-backend


📝 Commits (1)

  • c433405 Fix linter errors in backend & main process

📊 Changes

10 files changed (+71 additions, -41 deletions)

View changed files

📝 electron.vite.config.ts (+2 -2)
📝 eslint.config.mjs (+23 -17)
📝 src/main/agent/runtime.ts (+3 -1)
📝 src/main/checkpointer/sqljs-saver.ts (+9 -1)
📝 src/main/ipc/agent.ts (+1 -1)
📝 src/main/ipc/threads.ts (+5 -5)
📝 src/main/services/title-generator.ts (+8 -8)
📝 src/main/storage.ts (+1 -1)
📝 src/preload/index.d.ts (+8 -2)
📝 src/preload/index.ts (+11 -3)

📄 Description

Part 1/4 of linter cleanup. Fixes all lint errors in backend and main process.

Stack: #18#19#20#21

Changes

  • Add missing return type annotations to TypeScript functions
  • Configure ESLint to exempt .js files from return type rules
  • Fix prettier formatting issues
  • Fix unused variable errors

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/openwork/pull/18 **Author:** [@bwhiting2356](https://github.com/bwhiting2356) **Created:** 1/17/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `lint-fix-1-backend` --- ### 📝 Commits (1) - [`c433405`](https://github.com/langchain-ai/openwork/commit/c43340510d905029c7f02659a0fc4413c4e8191c) Fix linter errors in backend & main process ### 📊 Changes **10 files changed** (+71 additions, -41 deletions) <details> <summary>View changed files</summary> 📝 `electron.vite.config.ts` (+2 -2) 📝 `eslint.config.mjs` (+23 -17) 📝 `src/main/agent/runtime.ts` (+3 -1) 📝 `src/main/checkpointer/sqljs-saver.ts` (+9 -1) 📝 `src/main/ipc/agent.ts` (+1 -1) 📝 `src/main/ipc/threads.ts` (+5 -5) 📝 `src/main/services/title-generator.ts` (+8 -8) 📝 `src/main/storage.ts` (+1 -1) 📝 `src/preload/index.d.ts` (+8 -2) 📝 `src/preload/index.ts` (+11 -3) </details> ### 📄 Description Part 1/4 of linter cleanup. Fixes all lint errors in backend and main process. **Stack:** **#18** → #19 → #20 → #21 ## Changes - Add missing return type annotations to TypeScript functions - Configure ESLint to exempt .js files from return type rules - Fix prettier formatting issues - Fix unused variable errors --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 09:17:51 -05:00
yindo closed this issue 2026-02-16 09:17:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/openwork#31