[PR #1744] [MERGED] feat: eslint lsp #10040

Closed
opened 2026-02-16 18:14:36 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1744
Author: @rekram1-node
Created: 8/9/2025
Status: Merged
Merged: 8/9/2025
Merged by: @adamdotdevin

Base: devHead: feat/eslint-lsp


📝 Commits (2)

📊 Changes

3 files changed (+65 additions, -3 deletions)

View changed files

📝 packages/opencode/src/lsp/server.ts (+60 -0)
📝 packages/opencode/src/tool/edit.ts (+1 -0)
📝 packages/web/src/content/docs/docs/lsp.mdx (+4 -3)

📄 Description

fixes: #1745

Tested and works pretty well, did notice that a lot of eslint feedback is HINT rather than ERROR so you may want to make it more leniant

Follows similar pattern to what Zed does: https://github.com/zed-industries/zed/blob/c6ef35ba378cce9c3d8801ce8aede114dfd90179/crates/languages/src/typescript.rs#L797


🔄 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/anomalyco/opencode/pull/1744 **Author:** [@rekram1-node](https://github.com/rekram1-node) **Created:** 8/9/2025 **Status:** ✅ Merged **Merged:** 8/9/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `feat/eslint-lsp` --- ### 📝 Commits (2) - [`91cffcf`](https://github.com/anomalyco/opencode/commit/91cffcfb4e96f3995693727cb676c71ac9b4a632) feat: eslint lsp - [`2d4b871`](https://github.com/anomalyco/opencode/commit/2d4b871c8dc3c756d60774f783c8fd93344d13d5) tweak: rm whitespace ### 📊 Changes **3 files changed** (+65 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/lsp/server.ts` (+60 -0) 📝 `packages/opencode/src/tool/edit.ts` (+1 -0) 📝 `packages/web/src/content/docs/docs/lsp.mdx` (+4 -3) </details> ### 📄 Description fixes: #1745 Tested and works pretty well, did notice that a lot of eslint feedback is HINT rather than ERROR so you may want to make it more leniant Follows similar pattern to what Zed does: https://github.com/zed-industries/zed/blob/c6ef35ba378cce9c3d8801ce8aede114dfd90179/crates/languages/src/typescript.rs#L797 --- <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 18:14:36 -05:00
yindo closed this issue 2026-02-16 18:14:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10040